import * as React from 'react'; import { CHILD_SIZE } from './BounceAnimation.constants'; import type { ValuesOf } from '../utils/typeUtils'; export interface BounceAnimationProps { /** Applied as data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** The component which we would like to animate. */ children: React.ReactNode; /** Triggers the animation transition. */ active?: boolean; /** A callback fired immediately after the animation starts. */ onStart?: (event: React.AnimationEvent) => void; /** A callback fired immediately after the animation ends. */ onEnd?: (event: React.AnimationEvent) => void; /** Specifies whether the animation repeats continuously while `active` is `true`. */ loop?: boolean; /** Sets a delay before the animation starts. A number is treated as milliseconds, and a string is used as a CSS `animation-delay` value. */ delay?: string | number; } export type BounceAnimationSize = ValuesOf; export interface BounceAnimationState { animationSize?: BounceAnimationSize; } //# sourceMappingURL=BounceAnimation.types.d.ts.map