@zjpcy/simple-design 1.0.0 → 1.0.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 +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @zjpcy/simple-design
|
|
2
2
|
|
|
3
3
|
IDP Studio Design System - React Component Library
|
|
4
4
|
|
|
@@ -7,14 +7,14 @@ IDP Studio Design System - React Component Library
|
|
|
7
7
|
## 安装
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npm install @
|
|
10
|
+
npm install @zjpcy/simple-design
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## 使用
|
|
14
14
|
|
|
15
15
|
```jsx
|
|
16
|
-
import { Button } from '@
|
|
17
|
-
import '@
|
|
16
|
+
import { Button } from '@zjpcy/simple-design';
|
|
17
|
+
import '@zjpcy/simple-design/dist/index.css';
|
|
18
18
|
|
|
19
19
|
function App() {
|
|
20
20
|
return <Button type="primary">Hello World</Button>;
|
|
@@ -24,18 +24,18 @@ function App() {
|
|
|
24
24
|
## 组件
|
|
25
25
|
|
|
26
26
|
- Button: 按钮组件
|
|
27
|
+
- ColorPicker: 颜色选择器组件
|
|
28
|
+
- CopyToClipboard: 复制到剪贴板组件
|
|
29
|
+
- Divider: 分割线组件
|
|
27
30
|
- Icon: 图标组件
|
|
31
|
+
- Input: 输入框组件
|
|
28
32
|
- Marquee: 跑马灯组件
|
|
33
|
+
- Message: 消息提示组件
|
|
29
34
|
- Modal: 模态框组件
|
|
30
35
|
- Notice: 通知组件
|
|
36
|
+
- Notification: 通知提醒组件
|
|
31
37
|
- Table: 表格组件
|
|
32
38
|
- Top: 顶部组件
|
|
33
|
-
- Divider: 分割线组件
|
|
34
|
-
- Input: 输入框组件
|
|
35
|
-
- Notification: 通知提醒组件
|
|
36
|
-
- ColorPicker: 颜色选择器组件
|
|
37
|
-
- CopyToClipboard: 复制到剪贴板组件
|
|
38
|
-
- Message: 消息提示组件
|
|
39
39
|
|
|
40
40
|
## 许可证
|
|
41
41
|
|