mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 15:49:10 +08:00
15 lines
272 B
TypeScript
15 lines
272 B
TypeScript
|
import { Select } from 'antd';
|
||
|
import React from 'react';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Select
|
||
|
style={{ width: 120, marginTop: '50vh' }}
|
||
|
open
|
||
|
options={new Array(100).fill(null).map((_, index) => ({
|
||
|
value: index,
|
||
|
}))}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|