react-decode-animation
Version:
Decode effect typing animation for React
17 lines (16 loc) • 563 B
TypeScript
export interface DecodeAnimationCharacterOptions {
/**
* The duration of character change (in Milliseconds)
*/
interval: number;
/**
* The duration that can deviate from the interval (in Milliseconds)
*/
intervalDeviation?: number;
}
export interface DecodeAnimationCharacterProps {
isPlaying: boolean;
loopString: string;
options?: DecodeAnimationCharacterOptions;
}
export declare function DecodeAnimationCharacter({ isPlaying, loopString, options, }: DecodeAnimationCharacterProps): JSX.Element;