import React, { useState } from 'react'; import { PlusOutlined } from '@ant-design/icons'; import { Form, Input, Button, Radio, Select, Cascader, DatePicker, InputNumber, TreeSelect, Switch, Checkbox, Upload, } from 'antd'; const { RangePicker } = DatePicker; const { TextArea } = Input; const FormDisabledDemo: React.FC = () => { const [componentDisabled, setComponentDisabled] = useState(true); return ( <> setComponentDisabled(e.target.checked)} > Form disabled
Checkbox Apple Pear