UNPKG

kinetic-components

Version:

Use CSS animations or your favorite JS animation library to animate a single React component or orchestrate animations amongst a collection of React components.

5 lines (4 loc) 462 B
import React from 'react'; import { AnimateProps } from './types'; declare const Animate: <PredicateState, TriggerState>({ name, logger, visible: visibleProp, triggerState, predicateState, when, children, unmountOnHide: _unMountOnHide, id, enterAfterParentStart, enterAfterParentFinish, exitAfterChildStart, exitAfterChildFinish, animationBinding }: AnimateProps<PredicateState, TriggerState>) => React.ReactElement<any, any> | null; export default Animate;