27 lines
699 B
TypeScript
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;
|