@ethora/chat-component 0.1.0 → 0.1.1
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 +3 -3
- package/dist/hooks/useLocalStorage.d.ts +4 -0
- package/dist/main.js +3323 -3316
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
2. select name of project, select type (react/js)
|
|
5
5
|
3. cd project-name
|
|
6
6
|
4. npm i
|
|
7
|
-
5. npm i
|
|
7
|
+
5. npm i @ethora/chat-component
|
|
8
8
|
6. go to file src/App.tsx and replace it with this code
|
|
9
9
|
|
|
10
10
|
```
|
|
11
11
|
|
|
12
12
|
### Creating just chatroom screen
|
|
13
|
-
import { Chat } from "
|
|
13
|
+
import { Chat } from "@ethora/chat-component";
|
|
14
14
|
import "./App.css";
|
|
15
15
|
|
|
16
16
|
function App() {
|
|
@@ -71,4 +71,4 @@ body {
|
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
after these changes you can modify
|
|
74
|
-
MainComponentStyles for chat
|
|
74
|
+
MainComponentStyles for chat
|