ant-design/components/select/demo/bordered.md
2020-02-06 10:02:02 +08:00

611 B

order title
23
zh-CN en-US
无边框 Bordered-less

zh-CN

无边框样式。

en-US

Bordered-less style component.

import { Select } from 'antd';

const { Option } = Select;

ReactDOM.render(
  <>
    <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>
  </>,
  mountNode,
);