import { ReactNode } from 'react'; import { Flex, Group } from '@mantine/core'; export const Option = ({ children }: any) => { return ( {children} ); }; interface LabelProps { children: ReactNode; } const Label = ({ children }: LabelProps) => { return {children}; }; interface ControlProps { children: ReactNode; } const Control = ({ children }: ControlProps) => { return {children}; }; Option.Label = Label; Option.Control = Control;