import * as React from 'react'; import { CollectorChildrenProps, AnimationCallback, AnimationData } from '../../Collector'; import { Duration } from '../types'; export interface CircleExpandProps extends CollectorChildrenProps { /** * Background, same usage as usual css. */ background: string; /** * How long the animation should take over {duration}ms. */ duration: Duration; /** * zIndex to be applied to the moving element. */ zIndex: number; } export default class CircleExpand extends React.Component { static defaultProps: { duration: string; zIndex: number; }; renderAnimation: (data: AnimationData, options: { step?: number | undefined; onFinish: () => void; }) => JSX.Element; beforeAnimate: AnimationCallback; animate: AnimationCallback; afterAnimate: AnimationCallback; render(): JSX.Element; }