wix-style-react
Version:
15 lines (13 loc) • 502 B
TypeScript
import * as React from 'react';
export interface PulseAnimationProps {
dataHook?: string;
children: React.ReactNode;
active?: boolean;
onStart?: (event: React.AnimationEvent<HTMLDivElement>) => void;
onEnd?: (event: React.AnimationEvent<HTMLDivElement>) => void;
loop?: boolean;
delay?: string | number;
color: 'B10' | 'R10' | 'P10' | 'G10';
borderRadius?: React.CSSProperties['borderRadius'];
}
export default class PulseAnimation extends React.PureComponent<PulseAnimationProps>{}