UNPKG

@wordpress/components

Version:
23 lines 941 B
/// <reference types="react" /> /** * `CardDivider` renders an optional divider within a `Card`. * It is typically used to divide multiple `CardBody` components from each other. * * ```jsx * import { Card, CardBody, CardDivider } from `@wordpress/components`; * * <Card> * <CardBody>...</CardBody> * <CardDivider /> * <CardBody>...</CardBody> * </Card> * ``` */ export declare const CardDivider: import("../../ui/context").WordPressComponent<"hr", Omit<import("reakit/ts").SeparatorProps, "children" | "orientation" | "unstable_system"> & { margin?: import("../../ui/utils/space").SpaceInput | undefined; marginEnd?: import("../../ui/utils/space").SpaceInput | undefined; marginStart?: import("../../ui/utils/space").SpaceInput | undefined; orientation?: "horizontal" | "vertical" | undefined; } & import("react").RefAttributes<any>, false>; export default CardDivider; //# sourceMappingURL=component.d.ts.map