UNPKG

@izhann/react-cursor-fx

Version:

Interactive cursor effects for React and Next.js applications

13 lines (12 loc) 454 B
import type React from "react"; import { type ReactNode } from "react"; import type { CursorContextType, CursorConfig } from "../types"; export declare const defaultCursorConfig: CursorConfig; export declare const useCursorContext: () => CursorContextType; interface CursorProviderProps { children: ReactNode; config?: CursorConfig; hideNativeCursor?: boolean; } export declare const CursorProvider: React.FC<CursorProviderProps>; export {};