import { BiX } from "react-icons/bi"; import { VuiIconButton } from "../button/IconButton"; import { VuiFlexContainer } from "../flex/FlexContainer"; import { VuiFlexItem } from "../flex/FlexItem"; import { VuiIcon } from "../icon/Icon"; import { VuiSpacer } from "../spacer/Spacer"; import { VuiTitle } from "../typography/Title"; type Props = { title: React.ReactNode; onClose: () => void; children?: React.ReactNode; }; export const VuiChatPanel = ({ title, onClose, children }: Props) => { return (

{title}

} color="neutral" onClick={() => onClose()} />
{children}
); };