import React, { ReactNode } from 'react' import { AnimationContext } from './animation-context' interface Props { stagger?: number started?: boolean children: ReactNode } const AnimationGroup: React.FC = (props: Props) => { let stagger = 0 return ( stagger, increaseStagger: () => stagger = stagger + (props.stagger || 0), }}> {props.children} ) } export default AnimationGroup