You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
730 B
42 lines
730 B
5 years ago
|
---
|
||
|
order: 23
|
||
|
title:
|
||
|
zh-CN: 无边框
|
||
|
en-US: Bordered-less
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
无边框样式。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Bordered-less style component.
|
||
|
|
||
|
```jsx
|
||
|
import { DatePicker } from 'antd';
|
||
|
|
||
|
const { RangePicker } = DatePicker;
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<DatePicker bordered={false} />
|
||
|
<br />
|
||
|
<DatePicker picker="week" bordered={false} />
|
||
|
<br />
|
||
|
<DatePicker picker="month" bordered={false} />
|
||
|
<br />
|
||
|
<DatePicker picker="year" bordered={false} />
|
||
|
<br />
|
||
|
<RangePicker bordered={false} />
|
||
|
<br />
|
||
|
<RangePicker picker="week" bordered={false} />
|
||
|
<br />
|
||
|
<RangePicker picker="month" bordered={false} />
|
||
|
<br />
|
||
|
<RangePicker picker="year" bordered={false} />
|
||
|
</div>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|