@usal/react
Version:
Ultimate Scroll Animation Library - Lightweight, powerful, wonderfully simple ✨ | React Package
17 lines (13 loc) • 376 B
TypeScript
import React, { ReactNode } from 'react';
import USAL, { USALConfig, USALInstance } from './usal';
export const USALProvider: React.FC<{
children: ReactNode;
config?: USALConfig;
}>;
export const useUSAL: () => {
config(): USALConfig;
config(config: USALConfig): void;
destroy: () => Promise<void>;
restart: () => Promise<USALInstance>;
};
export default USAL;