import { forwardRef } from 'react' import { Group } from '../Primitives/Group' import { GroupOrientation } from '../Primitives/Group/types' import type { SingleSelectGroupProps } from './SingleSelectGroupProps.types' import { flattenChildren } from '../../global-utils/GlobalUtils' const SingleSelectGroup = forwardRef( ({ stacked = false, gap, children, ...restProps }, ref) => { const flatChildren = flattenChildren(children) const totalChildren = flatChildren.length return ( {flatChildren} ) } ) SingleSelectGroup.displayName = 'SingleSelectGroup' export default SingleSelectGroup