1.0.19 • Published 2 years ago
pear-element v1.0.19
安装
npm i pear-element
使用
引入 Element
我们可以按需引入,单独导入某一个组件即可使用。
import React from 'react';
import { Button } from 'pear-element';
export default function ButtonDemo1() {
return (
<div style={{ display: 'flex', justifyContent: 'space-around' }}>
<Button type="primary" >基础按钮</Button>
<Button type="success">成功按钮</Button>
<Button type="danger">危险按钮</Button>
<Button type="warning">警告按钮</Button>
<Button type="info">信息按钮</Button>
</div>
);
}
完整导入组件列表。
import {
Avatar,
Backtop,
Breadcrumb,
Button,
Card,
Carousel,
CarouselItem,
CheckboxAll,
CheckboxGroup,
Collapse,
Divider,
Icon,
InfiniteScroll,
Input,
InputNumber,
Col,
Row,
Link,
Loading,
MessageBox,
Notification,
PageHeader,
Pagination,
Popover,
Progress,
Radio,
RadioGroupButton,
Switch,
Table,
Tabs,
TabPane,
Tag,
Tree
} from "pear-element"
使用文档
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago