2020-06-06 14:37:08 +08:00
|
|
|
---
|
|
|
|
order: 14
|
|
|
|
title:
|
|
|
|
zh-CN: 无边框
|
|
|
|
en-US: Bordered-less
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
无边框样式。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Bordered-less style component.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2020-06-06 14:37:08 +08:00
|
|
|
import { TimePicker } from 'antd';
|
2022-05-23 14:37:16 +08:00
|
|
|
import React from 'react';
|
2020-06-06 14:37:08 +08:00
|
|
|
|
|
|
|
const { RangePicker } = TimePicker;
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2020-06-06 14:37:08 +08:00
|
|
|
<>
|
|
|
|
<TimePicker bordered={false} />
|
|
|
|
<RangePicker bordered={false} />
|
2022-04-03 23:27:45 +08:00
|
|
|
</>
|
2020-06-06 14:37:08 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2020-06-06 14:37:08 +08:00
|
|
|
```
|