@wordpress/components
Version:
UI components for WordPress.
23 lines • 676 B
TypeScript
/// <reference types="react" />
/**
* `CardHeader` renders an optional header within a `Card`.
*
* ```jsx
* import { Card, CardBody, CardHeader } from `@wordpress/components`;
*
* <Card>
* <CardHeader>...</CardHeader>
* <CardBody>...</CardBody>
* </Card>
* ```
*/
export declare const CardHeader: import("../../ui/context").WordPressComponent<"div", {
size?: import("../types").SizeOptions | "extraSmall" | undefined;
} & {
children: import("react").ReactNode;
isShady?: boolean | undefined;
} & {
isBorderless?: boolean | undefined;
} & import("react").RefAttributes<any>, true>;
export default CardHeader;
//# sourceMappingURL=component.d.ts.map