cursor-react
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Cursor Package For React

NPM version NPM downloads NPM downloads MIT License

Installation

npm i cursor-react

USE Cursor Package

import React from "react";
import Cursor from "cursor-react";

import image from "./image.png";

function App() {
  return (
    <div>
      <Cursor imageIcon={image} size={40}>
        <div
          style={{
            height: "100px",
            backgroundColor: "blue",
          }}
        >
          This is a Test
        </div>
      </Cursor>
    </div>
  );
}

Props

props defaultValue description
imageIcon null cursor image icon
size 16 min = 4 & max = 50

License

MIT

Author

Minoo Tavakoli

Package Sidebar

Install

npm i cursor-react

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

10.8 kB

Total Files

6

Last publish

Collaborators

  • lifeweb
  • minootavakoli