mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
4299d774ac
* chore: bump trigger ver * chore: support auto flip + shift * test: update snapshot * chore: use in TreeSelect & Cascader
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;
|