UNPKG

@nvq/flowtoken

Version:

Animated React components for streaming text and markdown with GitHub theme syntax highlighting (forked from flowtoken)

15 lines (14 loc) 428 B
import React from "react"; interface DefaultCodeProps { node: any; className?: string; children: React.ReactNode & React.ReactNode[]; style?: React.CSSProperties; codeStyle?: any; animateText: (text: any) => React.ReactNode; animation?: string; animationDuration?: string; animationTimingFunction?: string; } declare const DefaultCode: React.FC<DefaultCodeProps>; export default DefaultCode;