react-textra
Version:
text slider react component
13 lines (12 loc) • 358 B
TypeScript
/// <reference types="react" />
import type { Animations } from './animationStyles';
declare type TextraProps = {
data: string[];
effect?: Animations;
duration?: number;
stopDuration?: number;
className?: string;
onUpdate?: (index: number) => void;
};
declare const Textra: (props: TextraProps) => JSX.Element;
export default Textra;