diff --git a/src/components/CreditCard/types.ts b/src/components/CreditCard/types.ts index 9c5fda243..1f169b0c6 100644 --- a/src/components/CreditCard/types.ts +++ b/src/components/CreditCard/types.ts @@ -33,6 +33,11 @@ export interface CreditCardProps { */ name: string; + /** + * run function when creditcard is clicked + */ + onPressed?: () => void; + /** * run function when remove icon is clicked */