diff --git a/README.md b/README.md index 8c51846..424f416 100644 --- a/README.md +++ b/README.md @@ -37,14 +37,16 @@ npm i react-lasso-select Import the main js module: ```js -import ReactLassoSelect from 'react-lasso-select'; +import { ReactLassoSelect } from 'react-lasso-select'; ``` ## Example +See: [https://github.com/akcyp/react-lasso-select/blob/main/src/App.tsx](https://github.com/akcyp/react-lasso-select/blob/main/src/App.tsx) + ```jsx import { useState } from 'react'; -import ReactLassoSelect, { getCanvas } from 'react-lasso-select'; +import { ReactLassoSelect, getCanvas } from 'react-lasso-select'; export default function App() { const src = './demo.jpg'; diff --git a/package.json b/package.json index c390640..7d3b02e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-lasso-select", - "version": "2.0.0", + "version": "2.0.1", "description": "A responsive react tool for marking irregular areas in images (lasso / free select)", "author": "akcyp", "license": "ISC",