irojs-react
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "irojs-react", | ||
"version": "1.0.0", | ||
"description": "Made with create-react-library", | ||
"version": "1.0.1", | ||
"description": "A react component wrapper for iro.js", | ||
"author": "basith374", | ||
@@ -10,2 +10,3 @@ "license": "MIT", | ||
"module": "dist/index.modern.js", | ||
"keywords": ["react", "color picker", "react-component", "colorpicker"], | ||
"source": "src/index.js", | ||
@@ -12,0 +13,0 @@ "engines": { |
@@ -1,6 +0,6 @@ | ||
# package | ||
# iro.js react component | ||
> Made with create-react-library | ||
> The iro.js color picker wrapped in a react component | ||
[](https://www.npmjs.com/package/package) [](https://standardjs.com) | ||
[](https://www.npmjs.com/package/irojs-react) [](https://standardjs.com) [](https://github.com/basith374/irojs-react/actions/workflows/main.yml) | ||
@@ -10,3 +10,3 @@ ## Install | ||
```bash | ||
npm install --save package | ||
npm install --save irojs-react | ||
``` | ||
@@ -19,8 +19,7 @@ | ||
import MyComponent from 'package' | ||
import 'package/dist/index.css' | ||
import ColorPicker from 'irojs-react' | ||
class Example extends Component { | ||
render() { | ||
return <MyComponent /> | ||
return <ColorPicker /> | ||
} | ||
@@ -27,0 +26,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
6677
30