import { Provider } from './context'; import { IGroupProps } from './interfaces'; import { FunctionComponentWithChildren } from '../../../types'; import { ctw } from '../../../utils/ctw/ctw'; export const Group: FunctionComponentWithChildren = ({ vertical = false, children, label, values = [], onChange, titleProps = {}, innerContainerProps = {}, }) => { const { className: titleClassName, ...restTitle } = titleProps; const { className: innerContainerClassName, ...restInnerContainer } = innerContainerProps; return (

{label}

{children}
); };