import React from 'react';
import {
AutoComplete,
Button,
Cascader,
DatePicker,
Input,
InputNumber,
Mentions,
Radio,
Select,
TimePicker,
TreeSelect,
Typography,
} from 'antd';
const { Text } = Typography;
const { Option } = Select;
const { RangePicker } = DatePicker;
const narrowStyle: React.CSSProperties = {
width: 50,
};
const options = [
{
value: 'zhejiang',
label: 'Zhejiang',
children: [
{
value: 'hangzhou',
label: 'Hangzhou',
children: [
{
value: 'xihu',
label: 'West Lake',
},
],
},
],
},
{
value: 'jiangsu',
label: 'Jiangsu',
children: [
{
value: 'nanjing',
label: 'Nanjing',
children: [
{
value: 'zhonghuamen',
label: 'Zhong Hua Men',
},
],
},
],
},
];
const App: React.FC = () => (
<>
Ant Design
Hangzhou
Shanghai
>
);
export default App;