UNPKG

react-awesome-cursor

Version:
22 lines (21 loc) 620 B
import { FunctionComponent } from 'react'; import './styles/main.scss'; interface AwesomeCursorProps { className?: string; backgroundColor?: string; initialSize?: number; animationDuration?: number; magneticAmount?: number; cursorAnimationDuration?: number; enableSpecialElementScale?: boolean; } /** * # AwesomeCursor * * the custom make cursor to handle some of the event in some * element in tags html by using [data-cursor] attribute * * @returns JSX.Element */ declare const AwesomeCursor: FunctionComponent<AwesomeCursorProps>; export default AwesomeCursor;