Add prop to `Card.ImageCap` to support placing an `ImageButton` in the top right

Open
#1,406 1 comment 0 reactions 1 assignee View on GitHub

@kalebjdavenport is already working on this.

Since Jul 15, 2022.

Assessment

This issue has not been assessed yet.

Description

  • Investigate and add an IconButton to the top right of the Card component.
  • Create tests for different layouts of new SaveForLater variant.
  • Confirm onClick properties of the IconButton match what is currently expect in prospectus SaveForLater card components.
  • Ensure props API is flexible to support other IconButton variations beyond for SaveForLater (different icons, click behavior, etc.).
Dominant language
JavaScript
Stars
140
Forks
100
Avg merge
1h 3m
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openedx/paragon

All issues in openedx/paragon

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.