@starter-ui/core
Version:
This is a UI Components built with the utility classes from Tailwind CSS.
23 lines (22 loc) • 800 B
TypeScript
import { PropsWithChildren } from 'react';
interface Props {
id?: string;
showBorder?: boolean;
showDivider?: boolean;
shadow?: string;
radius?: string;
className?: string;
}
declare const Card: {
({ id, showBorder, showDivider, radius, shadow, className, children }: PropsWithChildren<Props>): import("react/jsx-runtime").JSX.Element;
Header: ({ className, children }: PropsWithChildren<{
className?: string;
}>) => import("react/jsx-runtime").JSX.Element;
Body: ({ className, children }: PropsWithChildren<{
className?: string;
}>) => import("react/jsx-runtime").JSX.Element;
Footer: ({ className, children }: PropsWithChildren<{
className?: string;
}>) => import("react/jsx-runtime").JSX.Element;
};
export default Card;