import React, { ReactNode } from 'react'; import classNames from 'classnames'; import { Box, ContainerColor, as, color } from 'folds'; import * as css from './layout.css'; type BubbleArrowProps = { variant: ContainerColor; }; function BubbleLeftArrow({ variant }: BubbleArrowProps) { return ( ); } type BubbleLayoutProps = { hideBubble?: boolean; before?: ReactNode; header?: ReactNode; }; export const BubbleLayout = as<'div', BubbleLayoutProps>( ({ hideBubble, before, header, children, ...props }, ref) => ( {before} {header} {hideBubble ? ( children ) : ( {before ? : null} {children} )} ) );