@phazr/custom-cursor
Version:
A lightweight and highly customizable React component for creating unique and interactive cursor experiences.
11 lines (10 loc) • 413 B
TypeScript
import { type ReactNode } from 'react';
import type { CursorContextType } from './types';
interface CursorProviderProps {
children: ReactNode;
className?: string;
enableOnTouch?: boolean;
}
export declare const useCursor: () => CursorContextType;
export declare function CursorProvider({ children, className, enableOnTouch, }: CursorProviderProps): import("react/jsx-runtime").JSX.Element;
export {};