react-jsbarcode 0.1.1 → 0.1.2

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.2](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.1...v0.1.2) (2021-10-07)
6
+
7
+ ### Bug Fixes
8
+
9
+ - readme example and add more details ([73c68ca](https://github.com/iamchathu/react-jsbarcode/commit/73c68ca46dac183b53b02a581550feddc3995d9e))
10
+
5
11
  ### [0.1.1](https://github.com/iamchathu/react-jsbarcode/compare/v0.1.0...v0.1.1) (2021-10-07)
6
12
 
7
13
  ### Bug Fixes
package/Readme.md CHANGED
@@ -31,6 +31,12 @@ yarn add react-jsbarcode jsbarcode
31
31
  import ReactJSBarcode from 'react-jsbarcode';
32
32
 
33
33
  const App = () => {
34
- return <ReactJSBarcode data="ABC123" />;
34
+ return <ReactJSBarcode value="ABC123" options={{ format: 'code128' }} renderer="svg" />;
35
35
  };
36
36
  ```
37
+
38
+ For all options refer jsbarcode [wiki](https://github.com/lindell/JsBarcode/wiki/Options).
39
+
40
+ ### Renderers
41
+
42
+ JSBarcode supports rendering to SVG, image and canvas. Default renderer is 'svg'.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-jsbarcode",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "JSBarcode component for React",
5
5
  "homepage": "http://github.com/iamchathu/react-jsbarcode",
6
6
  "repository": {