UNPKG

@dotcms/react

Version:

Official React Components library to render a dotCMS page.

27 lines (26 loc) 842 B
/// <reference types="react" /> import { DotCMSPageContext } from '../../models'; /** * Props for the row component * * @interface RowProps * */ export interface RowProps { /** * Row data * * @type {DotCMSPageContext['layout']['body']['rows'][0]} * @memberof RowProps */ row: DotCMSPageContext['pageAsset']['layout']['body']['rows'][0]; } /** * This component renders a row with all it's content using the layout provided by dotCMS Page API. * * @see {@link https://www.dotcms.com/docs/latest/page-rest-api-layout-as-a-service-laas} * @category Components * @param {React.ForwardedRef<HTMLDivElement, RowProps>} ref * @return {JSX.Element} Rendered rows with columns */ export declare const Row: import("react").ForwardRefExoticComponent<RowProps & import("react").RefAttributes<HTMLDivElement>>;