// react import React from "react"; // react hook form import { Controller } from "react-hook-form"; import type { Control } from "react-hook-form"; // ui import { CustomListbox } from "ui"; // icons import { Squares2X2Icon } from "@heroicons/react/24/outline"; // types import type { IModule } from "types"; import { MODULE_STATUS } from "constants/"; type Props = { control: Control; }; const SelectStatus: React.FC = ({ control }) => { return ( ( { return { value: status.value, display: status.label }; })} value={value} optionsFontsize="sm" onChange={onChange} icon={} /> )} /> ); }; export default SelectStatus;