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