UNPKG

vevet

Version:

Vevet is a JavaScript library for creative development that simplifies crafting rich interactions like split text animations, carousels, marquees, preloading, and more.

14 lines 478 B
import { ISplitTextLetterMeta, ISplitTextWordMeta } from '../types'; interface IProps { wordsMeta: ISplitTextWordMeta[]; classname: string; tagName: keyof HTMLElementTagNameMap; } /** * Wraps each letter in every word inside the container with the specified HTML tag and class name. */ export declare function wrapLetters({ wordsMeta, classname, tagName }: IProps): { lettersMeta: ISplitTextLetterMeta[]; }; export {}; //# sourceMappingURL=wrapLetters.d.ts.map