@uva-glass/component-library
Version:
React components UvA
16 lines (15 loc) • 769 B
TypeScript
import { PropsWithChildren, ReactNode } from 'react';
export interface CardProps {
/** The element to use as a header. */
header?: ReactNode;
/** true to render the card with high contrast colors; otherwise, false. The default is false. */
highContrast?: boolean;
/** An optional notification to render. */
notification?: ReactNode;
/** The padding to use for the card. */
padding?: 'small' | 'regular' | 'large';
/** true to align the contents in the center; otherwise, false. */
alignCenter?: boolean;
}
/** Represents a component to render a card. */
export declare const Card: ({ children, header, highContrast, notification, padding, alignCenter, }: PropsWithChildren<CardProps>) => import("react/jsx-runtime").JSX.Element;