import { ConfigProvider, Modal, Form, Input, Select } from "antd"; const UserRegistration = ({ _this }) => { const { userRegisterMode } = _this.state; if (!userRegisterMode) return ""; const [form] = Form.useForm(); const handleCancel = () => { _this.setState({ userRegisterMode: false, }); }; const handleOk = () => { form.submit(); }; const onFinish = values => { console.log("=====Success:", values); }; return (