UNPKG

vue3-chat-yz

Version:

vue3-chat-yz

8 lines (7 loc) 360 B
import { Ref, VNode } from 'vue'; /** * Return typed content and typing status when typing is enabled. * Or return content directly. */ declare function useTypedEffect(content: Ref<string>, typingEnabled: boolean, typingStep: number, typingInterval: number): [typedContent: Ref<() => string | VNode>, isTyping: Ref<boolean>]; export default useTypedEffect;