react-lasso-select 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,14 +37,16 @@ npm i react-lasso-select
37
37
  Import the main js module:
38
38
 
39
39
  ```js
40
- import ReactLassoSelect from 'react-lasso-select';
40
+ import { ReactLassoSelect } from 'react-lasso-select';
41
41
  ```
42
42
 
43
43
  ## Example
44
44
 
45
+ 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)
46
+
45
47
  ```jsx
46
48
  import { useState } from 'react';
47
- import ReactLassoSelect, { getCanvas } from 'react-lasso-select';
49
+ import { ReactLassoSelect, getCanvas } from 'react-lasso-select';
48
50
 
49
51
  export default function App() {
50
52
  const src = './demo.jpg';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-lasso-select",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "A responsive react tool for marking irregular areas in images (lasso / free select)",
5
5
  "author": "akcyp",
6
6
  "license": "ISC",