import { ContentTree } from '@financial-times/content-tree' import React from 'react' import { ContentProps } from '../../types' interface LayoutProps extends ContentProps> {} /* * @description Layout component is used to define the layout for content. It can be used with ContentTree Layout Nodes or as a static layout. * @param layoutWidth - The width of the layout within the containing grid. * @param layoutName - The name of the layout. * @param children - The content to be displayed in the layout. */ export const Layout: React.FC> = ({ content: { layoutWidth, layoutName = 'auto' }, children, }) => { return (
{children}
) } export const LayoutContainer: React.FC = ({ children, }) => { return
{children}
} export const LayoutSlot: React.FC = ({ children }) => { return
{children}
}