3.2.1 • Published 2 years ago

@cognite/react-picture-annotation v3.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

React Picture Annotation

GitHub license

A simple annotation component.

rect

Install

# npm
npm install @cognite/react-picture-annotation

# yarn
yarn add @cognite/react-picture-annotation

Use within Cognite Data Fusion

By default, the PDF.JS worker is loaded in from a public CDN. But because of security concerns, we do not whitelist all domains to access things from public CDN within Fusion. Hence make sure to set the worker to a public hosted one like the ones here https://github.com/cognitedata/cdf-hub/tree/master/packages/root/static/dependencies. Also, make sure to check the version to use from package.json!

Setting the worker.js goes like this:

pdfjs.GlobalWorkerOptions.workerSrc = `//dev.fusion.cogniteapp.com/dependencies/pdfjs-dist@2.6.347/build/pdf.worker.js`;

Do this at the top of the file.

Storybook

Shout out the the orig repo: https://github.com/Kunduin/react-picture-annotation

3.2.1

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.2

2 years ago

1.16.6

2 years ago

1.16.5

2 years ago

3.0.1

3 years ago

3.1.0-beta.1

3 years ago

3.0.0-beta.1

3 years ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.4

3 years ago

2.1.0-beta.1

3 years ago

2.1.0-beta.3

3 years ago

2.1.0-beta.2

3 years ago

2.1.0-beta.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.16.3

3 years ago

1.13.4-beta.1

3 years ago

1.16.2

3 years ago

1.16.1

3 years ago

1.16.1-beta.2

3 years ago

1.16.1-beta.1

3 years ago

1.16.0

3 years ago

1.16.0-beta.11

3 years ago

1.16.0-beta.10

3 years ago

1.16.1-beta

3 years ago

1.16.0-beta.9

3 years ago

1.16.0-beta.7

3 years ago

1.16.0-beta.8

3 years ago

1.16.0-beta.6

3 years ago

1.16.0-beta.5

3 years ago

1.16.0-beta.4

3 years ago

1.16.0-beta.3

3 years ago

1.16.0-beta.2

3 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.3

4 years ago

1.13.2

4 years ago

1.13.1

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.0

4 years ago

1.10.4

4 years ago

1.10.3

4 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.3

4 years ago

1.8.2

4 years ago

1.8.1-ur

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.5

4 years ago

1.7.4

4 years ago

1.7.3

4 years ago

1.7.2

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

0.18.0-rc1

4 years ago

1.1.2

4 years ago

0.17.0

4 years ago

1.1.1

4 years ago

0.16.5

4 years ago

0.16.3

4 years ago

0.16.2

4 years ago

1.0.1

4 years ago

0.16.1

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.11.0-rc2

4 years ago

0.11.0-rc1

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.1

5 years ago

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago