ant-design/components/select/demo/bordered.tsx
二货爱吃白萝卜 2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00

27 lines
566 B
TypeScript

import React from 'react';
import { Select, Space } from 'antd';
const App: React.FC = () => (
<Space wrap>
<Select
defaultValue="lucy"
style={{ width: 120 }}
bordered={false}
options={[
{ value: 'jack', label: 'Jack' },
{ value: 'lucy', label: 'Lucy' },
{ value: 'Yiminghe', label: 'yiminghe' },
]}
/>
<Select
defaultValue="lucy"
style={{ width: 120 }}
disabled
bordered={false}
options={[{ value: 'lucy', label: 'Lucy' }]}
/>
</Space>
);
export default App;