UNPKG

@cimpress/react-components

Version:
22 lines 791 B
import React, { ReactNode } from 'react'; import { PublicComponentProps } from './types'; export interface CardProps extends PublicComponentProps { /** * The body of the card. Can be anything. */ children: ReactNode; /** * The header of the card. Typically a title or an svg such as a CardHeader from Shapes. If not provided, no header will render. */ header?: ReactNode; /** * Boolean that simplifies the look of the header. Defaults to false. */ isMinimal?: boolean; /** * The variant of card you are creating. */ variant?: 'default' | 'layout' | 'minimal'; } export declare const Card: ({ children, header, isMinimal, className, variant, ...rest }: CardProps) => React.JSX.Element; //# sourceMappingURL=Card.d.ts.map