import './LabelCard.scss'; export interface LabelCardProps { /** * label | label to be displayed on top of the card */ label: string; /** * title | title of the card */ title: string; /** * type | type of the card */ variant?: 'default' | 'primary' | 'success' | 'warning' | 'error'; size?: 'x-small' | 'small' | 'medium' | 'large' | 'x-large'; children?: any; } const LabelCard = ({ variant = 'primary', label = 'primary', size = 'medium', title = 'Basic Label card', children = '', }: LabelCardProps) => { return (
{label}
{title}
{children}
); }; export default LabelCard;