import { Props as SurfaceProps } from '../Surface/types'; export type CardProps = SurfaceProps & { /** * Size of the elevation shadow, based on the Style system's elevation system. * Elevating a `Card` can be done by adjusting the `elevation` prop. This may be helpful in highlighting certain content. For more information, check out `Elevation`. * * @example * ```jsx * import { Card, CardBody, Text } from `@wp-g2/components` * * function Example() { * return ( * * * Card Content * * * ); * } *``` */ elevation?: number; /** * Renders without a border. * * @default false */ isBorderless?: boolean; /** * Renders with rounded corners. * * @default true */ isRounded?: boolean; }; export type CardBodyProps = { /** * Determines if `CardBody` is scrollable. * * @default true */ scrollable?: boolean; }; export type CardHeaderSize = 'medium' | 'small' | 'xSmall'; export type CardHeaderProps = { /** * Determines the size of `CardHeader`. * * @default 'medium' */ size?: CardHeaderSize; }; export type CardFooterProps = CardHeaderProps;