UNPKG

web-scrolling-text

Version:

A lightweight, customizable text animation library for creating smooth scrolling text effects with support for React, Next.js, Angular and vanilla JavaScript

10 lines (9 loc) 326 B
import React from "react"; import { ConfigType } from "../core/types"; interface ScrollingType { children: React.ReactNode; options?: ConfigType; } export declare const useScrolling: () => ConfigType; export declare const ScrollingTextProvider: ({ children, options, }: ScrollingType) => React.JSX.Element; export {};