bibot 1.0.10 → 1.0.11

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 +10 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -13,16 +13,17 @@ npm install --save bibot
13
13
  ## Usage
14
14
 
15
15
  ```tsx
16
- import React, { Component } from 'react'
17
-
18
- import MyComponent from 'bibot'
19
- import 'bibot/dist/index.css'
20
-
21
- class Example extends Component {
22
- render() {
23
- return <MyComponent />
24
- }
16
+ import { BiBot } from 'bibot'
17
+
18
+ function App() {
19
+ return (
20
+ <div className="App">
21
+ <BiBot clientId='YOUR CLIENT ID HERE' />
22
+ </div>
23
+ );
25
24
  }
25
+
26
+ export default App;
26
27
  ```
27
28
 
28
29
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bibot",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Made with create-react-library",
5
5
  "author": "chrisdjin",
6
6
  "license": "ISC",