@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 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 projecet-2-ccomp
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 "projecet-2-ccomp";
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
@@ -0,0 +1,4 @@
1
+ export declare function useLocalStorage<T>(key: string): {
2
+ get: () => T | null;
3
+ set: (value: T) => void;
4
+ };