@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
10 lines (9 loc) • 378 B
TypeScript
import { BoxProps } from './Box';
import type { ForwardRef } from './types';
export declare type CardProps = BoxProps;
/**
* Card style variants can be defined in the `theme.cards` object.
* By default the Card component uses the `theme.cards.primary` variant.
* @see https://theme-ui.com/components/card
*/
export declare const Card: ForwardRef<HTMLDivElement, CardProps>;