Skip to content

Commit

Permalink
feat(icon): onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
elias committed Feb 28, 2022
1 parent 930b5e3 commit 2062600
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/CreditCard/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ export interface CreditCardProps {
*/
name: string;

/**
* run function when creditcard is clicked
*/
onPressed?: () => void;

/**
* run function when remove icon is clicked
*/
Expand Down

0 comments on commit 2062600

Please sign in to comment.