@oicl/openbridge-webcomponents-react 0.0.6 → 0.0.7
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/package.json +2 -2
- package/readme.md +3 -1
package/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"build": "tsc",
|
|
6
6
|
"build:watch": "tsc --watch"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.7",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@oicl/openbridge-webcomponents": "^0.0.
|
|
10
|
+
"@oicl/openbridge-webcomponents": "^0.0.7",
|
|
11
11
|
"@lit/react": "^1.0.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
package/readme.md
CHANGED
|
@@ -31,6 +31,8 @@ To use the components in your project, you can install the package from npm:
|
|
|
31
31
|
npm install @oicl/openbridge-webcomponents-react
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
+
See also the [react demo](https://github.com/Ocean-Industries-Concept-Lab/openbridge-webcomponents/tree/main/packages/react-demo)
|
|
35
|
+
|
|
34
36
|
### Setup
|
|
35
37
|
1. Add the css file to your project:
|
|
36
38
|
```javascript
|
|
@@ -53,7 +55,7 @@ npm install @oicl/openbridge-webcomponents-react
|
|
|
53
55
|
```
|
|
54
56
|
4. Import the desired components in your project, for instance:
|
|
55
57
|
```javascript
|
|
56
|
-
import ObcTopBar from '@oicl/openbridge-webcomponents-react/components/top-bar/
|
|
58
|
+
import {ObcTopBar} from '@oicl/openbridge-webcomponents-react/components/top-bar/top-bar'
|
|
57
59
|
```
|
|
58
60
|
|
|
59
61
|
5. Use the components in your project:
|