mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 09:39:10 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
34 lines
687 B
Markdown
34 lines
687 B
Markdown
---
|
|
order: 23
|
|
title:
|
|
zh-CN: 无边框
|
|
en-US: Bordered-less
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
无边框样式。
|
|
|
|
## en-US
|
|
|
|
Bordered-less style component.
|
|
|
|
```jsx
|
|
import { DatePicker, Space } from 'antd';
|
|
|
|
const { RangePicker } = DatePicker;
|
|
|
|
export default () => (
|
|
<Space direction="vertical" size={12}>
|
|
<DatePicker bordered={false} />
|
|
<DatePicker picker="week" bordered={false} />
|
|
<DatePicker picker="month" bordered={false} />
|
|
<DatePicker picker="year" bordered={false} />
|
|
<RangePicker bordered={false} />
|
|
<RangePicker picker="week" bordered={false} />
|
|
<RangePicker picker="month" bordered={false} />
|
|
<RangePicker picker="year" bordered={false} />
|
|
</Space>
|
|
);
|
|
```
|