@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
17 lines (16 loc) • 490 B
TypeScript
import React from 'react';
import { type ButtonVariant } from './Button';
interface CardProps {
title?: string;
description?: string;
children: React.ReactNode;
className?: string;
showButton?: boolean;
buttonVariant?: ButtonVariant;
buttonText?: string;
handleButtonClick?: () => void;
/** Custom element to render inline with title and description */
headerElement?: React.ReactNode;
}
declare const Card: React.FC<CardProps>;
export default Card;