Quiz_dashboard/src/Pages/ReSeller/Sales/Model/ModelForm.tsx
2024-09-17 11:39:19 +03:00

27 lines
699 B
TypeScript

import { Col, Row } from "reactstrap";
import ValidationField from "../../../../Components/ValidationField/ValidationField";
import useFormatDataToSelect from "../../../../utils/useFormatDataToSelect";
const Form = ({ isEdit }: { isEdit?: boolean }) => {
const typeOptions = [
{ id: "student", name: "student" },
{ id: "reseller", name: "reseller" },
{ id: "admin", name: "admin" },
];
const typeArray = useFormatDataToSelect(typeOptions);
return (
<Row className="w-100">
<Col>
<ValidationField
placeholder="phone_number"
label="phone_number"
name="phone_number"
/>
</Col>
</Row>
);
};
export default Form;