2020-02-06 10:02:02 +08:00
|
|
|
---
|
|
|
|
order: 23
|
|
|
|
title:
|
|
|
|
zh-CN: 无边框
|
|
|
|
en-US: Bordered-less
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
无边框样式。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Bordered-less style component.
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
import { Select } from 'antd';
|
|
|
|
|
|
|
|
const { Option } = Select;
|
|
|
|
|
2022-04-03 23:27:45 +08:00
|
|
|
export default () => (
|
2020-02-06 10:02:02 +08:00
|
|
|
<>
|
|
|
|
<Select defaultValue="lucy" style={{ width: 120 }} bordered={false}>
|
|
|
|
<Option value="jack">Jack</Option>
|
|
|
|
<Option value="lucy">Lucy</Option>
|
|
|
|
<Option value="Yiminghe">yiminghe</Option>
|
|
|
|
</Select>
|
|
|
|
<Select defaultValue="lucy" style={{ width: 120 }} disabled bordered={false}>
|
|
|
|
<Option value="lucy">Lucy</Option>
|
|
|
|
</Select>
|
2022-04-03 23:27:45 +08:00
|
|
|
</>
|
2020-02-06 10:02:02 +08:00
|
|
|
);
|
|
|
|
```
|