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