UNPKG

@izhann/react-cursor-fx

Version:

Interactive cursor effects for React and Next.js applications — zero runtime dependencies

14 lines (13 loc) 333 B
interface UseCursorOptions { variant: string; onEnter?: () => void; onLeave?: () => void; } export declare const useCursor: ({ variant, onEnter, onLeave }: UseCursorOptions) => { onMouseEnter(): void; onMouseLeave(): void; onFocus(): void; onBlur(): void; "data-cursor-target": boolean; }; export {};