@theme-ui/components
Version:
Primitive layout, typographic, and other components for use with Theme UI.
10 lines (9 loc) • 376 B
TypeScript
import { BoxProps } from "./Box.js";
import type { ForwardRef } from "./types.js";
export 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>;