import { NSplitText, SplitText } from 'vevet'; import { IBaseComponent } from '@types'; type TPickedProps = | 'hasLetters' | 'hasLines' | 'letterTag' | 'wordTag' | 'lineTag'; export interface ISplitTextProps extends IBaseComponent, Pick { /** Source text */ text: string; /** Event on creation */ onInit?: (text: SplitText) => void; /** * Lazy initialization * * @default true */ isLazy?: boolean; } export type TSplitTextInstance = SplitText;