import { EventAttrs } from '../Register/event' ; import { AnimationConfig } from '../Animation/animate' ; import React from 'react' ; interface GroupProps { description description id ? : string ; description description name ? : string ; description description visible ? : boolean ; description description capture ? : boolean ; description description draggable ? : boolean ; description description zIndex ? : number ; description description animation ? : Partial < AnimationConfig > ; } export type CommonProps = GroupProps & EventAttrs ; const Group = ( props ) => { const { children , ... rest } = props ; return ( < div data - attr = { { ... rest , type : 'group' , } } > { children } < /div>); } ; export default Group ;