/// import { AnimationProps } from '../Base/types'; import { ExtendedBoxComponent, ExtendedBoxProps } from '../../types'; type Props = { /** * Boolean to enable or disable the animation at first mount */ readonly animateAtMount?: NonNullable; /** * Array of custom animations to be used. */ readonly animation: NonNullable[]; /** * Array of custom exit animations to be used. */ readonly animationExit?: NonNullable[]; /** * Array of delays to be used for each animation. */ readonly delay?: NonNullable[]; /** * Array of delays to be used for each exit animation. */ readonly delayExit?: NonNullable[]; /** * Array of directions to be used for each animation. */ readonly direction?: NonNullable[]; /** * Array of directions to be used for each exit animation. */ readonly directionExit?: NonNullable[]; /** * Array of durations to be used for each animation. */ readonly duration?: NonNullable[]; /** * Array of durations to be used for each exit animation. */ readonly durationExit?: NonNullable[]; /** * Boolean to perform or not the animation. If false, the animations are stopped and reset. */ readonly isEnabled?: boolean; /** * Boolean to show or not the component. Use this prop if you want a reverse animation when unmounting. */ readonly isVisible?: boolean; /** * Array of iterations count to be used for each animation. */ readonly iterationCount?: NonNullable[]; /** * Array of iterations count to be used for each exit animation. */ readonly iterationCountExit?: NonNullable[]; /** * Array of fill modes to be used for each animation. */ readonly fillMode?: NonNullable[]; /** * Array of fill modes to be used for each exit animation. */ readonly fillModeExit?: NonNullable[]; /** * Array of playState to be used for each animation. */ readonly playState?: NonNullable[]; /** * Array of timing functions to be used for each animation. */ readonly timingFunction?: NonNullable[]; /** * Array of timing functions to be used for each exit animation. */ readonly timingFunctionExit?: NonNullable[]; }; type AnimateProps = ExtendedBoxProps; type AnimateComponent = ExtendedBoxComponent; export { AnimateComponent, AnimateProps };