UNPKG

typeit-react

Version:

React component for the most versatile JavaScript animated typing utility on the planet.

13 lines (12 loc) 432 B
import React from "react"; import { Options, default as TypeItCore } from "typeit"; export interface TypeItProps { as?: keyof HTMLElementTagNameMap; options?: Options; children?: React.ReactNode; getBeforeInit?: (instance: TypeItCore) => TypeItCore; getAfterInit?: (instance: TypeItCore) => TypeItCore; [key: string]: any; } declare const TypeIt: React.FunctionComponent<TypeItProps>; export default TypeIt;