mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +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;
|