import { forwardRef } from 'react' ; import { filterContainerFakeProps } from './filterContainerFakeProps' ; import type { IContainerProps } from './IContainerProps' ; interface Props extends IContainerProps { form ? : boolean ; center ? : boolean ; box ? : boolean ; } export const Group = forwardRef < HTMLDivElement , Props & React . HTMLAttributes < HTMLDivElement > > ( function Group ( { form , center , box , ... rest } , ref ) { const divProps = filterContainerFakeProps ( rest ) ; return < div ref = { ref } { ... divProps } />; } ) ;