diff --git a/playbook/app/pb_kits/playbook/pb_layout/_layout.tsx b/playbook/app/pb_kits/playbook/pb_layout/_layout.tsx index 5d7fa88029..56fb6120af 100755 --- a/playbook/app/pb_kits/playbook/pb_layout/_layout.tsx +++ b/playbook/app/pb_kits/playbook/pb_layout/_layout.tsx @@ -24,34 +24,37 @@ type LayoutPropTypes = { type LayoutSideProps = { children: React.ReactNode[] | React.ReactNode, className?: string, -} +} & GlobalProps type LayoutBodyProps = { children: React.ReactNode[] | React.ReactNode, className?: string, -} +} & GlobalProps type LayoutItemProps = { children: React.ReactNode[] | React.ReactNode, className?: string, size?: "sm" | "md" | "lg" -} +} & GlobalProps type LayoutHeaderProps = { children: React.ReactNode[] | React.ReactNode, className?: string, -} +} & GlobalProps type LayoutFooterProps = { children: React.ReactNode[] | React.ReactNode, className?: string, -} +} & GlobalProps -// Side component const Side = (props: LayoutSideProps) => { const { children, className } = props + const dynamicInlineProps = globalInlineProps(props) return ( -