ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
9 lines (8 loc) • 437 B
TypeScript
import type { Ref } from 'vue';
import type { BubbleContentType } from '../interface';
/**
* Return typed content and typing status when typing is enabled.
* Or return content directly.
*/
declare const useTypedEffect: (content: Ref<BubbleContentType>, typingEnabled: Ref<boolean>, typingStep: Ref<number>, typingInterval: Ref<number>) => [typedContent: Ref<BubbleContentType>, isTyping: Ref<boolean>];
export default useTypedEffect;