@csshero/usehooks 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 +5 -14
- package/package.json +1 -1
package/README.md
CHANGED
@@ -14,21 +14,14 @@ useHooks,是一款为 React 开发场景而生的 Hooks 库。
|
|
14
14
|
|
15
15
|
## 📦 安装
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
```bash [npm]
|
17
|
+
```bash
|
20
18
|
npm install @csshero/usehooks
|
21
|
-
|
22
|
-
|
23
|
-
```bash [yarn]
|
19
|
+
# or
|
24
20
|
yarn add @csshero/usehooks
|
25
|
-
|
26
|
-
|
27
|
-
```bash [pnpm]
|
21
|
+
# or
|
28
22
|
pnpm add @csshero/usehooks
|
29
|
-
```
|
30
23
|
|
31
|
-
|
24
|
+
```
|
32
25
|
|
33
26
|
## 🔨 使用
|
34
27
|
|
@@ -42,6 +35,4 @@ import { useToggle } from '@csshero/usehooks';
|
|
42
35
|
|
43
36
|
或添加我的联系方式:
|
44
37
|
|
45
|
-
|
46
|
-
<img data-type="dingtalk" src="/vx.jpg" width="300" />
|
47
|
-
</div>
|
38
|
+

|