Skip to content

Commit

Permalink
Document props
Browse files Browse the repository at this point in the history
  • Loading branch information
thivi committed Feb 13, 2023
1 parent 5201042 commit 9165701
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions packages/react/src/components/ActionCard/ActionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9165701

Please sign in to comment.