From 91657019aab5bca625aec28f723f3442a8b41ecb Mon Sep 17 00:00:00 2001 From: Thivi Date: Mon, 13 Feb 2023 18:23:17 +0530 Subject: [PATCH] Document props --- .../src/components/ActionCard/ActionCard.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/packages/react/src/components/ActionCard/ActionCard.tsx b/packages/react/src/components/ActionCard/ActionCard.tsx index b9449c63..29337661 100644 --- a/packages/react/src/components/ActionCard/ActionCard.tsx +++ b/packages/react/src/components/ActionCard/ActionCard.tsx @@ -25,10 +25,25 @@ import Typography from '../Typography'; import {WithWrapperProps} from '../../models'; export interface ActionCardProps { + /** + * The text to be displayed in the action button. + */ actionText: string; + /** + * The description of the card. + */ description: string; + /** + * The image to be displayed in the card. + */ image: ReactNode; + /** + * Callback method to be called when the action button is clicked. + */ onActionClick: () => void; + /** + * The title of the card. + */ title: string; }