UNPKG

@ant-design/x

Version:

Craft AI-driven interfaces effortlessly

8 lines (7 loc) 366 B
import * as React from 'react'; /** * Return typed content and typing status when typing is enabled. * Or return content directly. */ declare const useTypedEffect: (content: React.ReactNode | object, typingEnabled: boolean, typingStep: number, typingInterval: number) => [typedContent: React.ReactNode | object, isTyping: boolean]; export default useTypedEffect;