@namiruai/react 1.2.0 → 1.3.0
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/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @namiruai/react
|
|
2
2
|
|
|
3
3
|
React wrapper for the [Namiru.ai](https://namiru.ai) chat widget -- add AI customer support to your React app.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @namiruai/react
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
@@ -13,7 +13,7 @@ npm install @namiru/react
|
|
|
13
13
|
### Floating Button (default)
|
|
14
14
|
|
|
15
15
|
```tsx
|
|
16
|
-
import { NamiruChat } from '@
|
|
16
|
+
import { NamiruChat } from '@namiruai/react';
|
|
17
17
|
|
|
18
18
|
function App() {
|
|
19
19
|
return (
|
|
@@ -28,7 +28,7 @@ function App() {
|
|
|
28
28
|
### Inline Mode
|
|
29
29
|
|
|
30
30
|
```tsx
|
|
31
|
-
import { NamiruChat } from '@
|
|
31
|
+
import { NamiruChat } from '@namiruai/react';
|
|
32
32
|
|
|
33
33
|
function App() {
|
|
34
34
|
return (
|