flowtoken-next
Version:

20 lines (19 loc) • 666 B
TypeScript
import React from 'react';
interface SmoothTextProps {
content: string;
sep?: string;
animation?: string | null;
animationDuration?: string;
animationTimingFunction?: string;
codeStyle?: any;
htmlComponents?: any;
customComponents?: any;
}
interface CustomRendererProps {
rows: any[];
stylesheet: any;
useInlineStyles: boolean;
}
export declare const customCodeRenderer: ({ animation, animationDuration, animationTimingFunction }: any) => ({ rows, stylesheet, useInlineStyles }: CustomRendererProps) => React.JSX.Element[];
declare const MarkdownAnimateText: React.FC<SmoothTextProps>;
export default MarkdownAnimateText;