import React from 'react'; import { Button, Cascader, DatePicker, Form, Input, InputNumber, Mentions, Select, TreeSelect, Segmented, } from 'antd'; const { RangePicker } = DatePicker; const formItemLayout = { labelCol: { xs: { span: 24 }, sm: { span: 6 }, }, wrapperCol: { xs: { span: 24 }, sm: { span: 14 }, }, }; const App: React.FC = () => { const [form] = Form.useForm(); const variant = Form.useWatch('variant', form); return (