import { FC } from "react"; import { useForm } from "react-hook-form"; // ui import { Input } from "@plane/ui"; // types import { IInstance } from "types/instance"; export interface IInstanceGeneralForm { data: IInstance; } export interface GeneralFormValues { instance_name: string; namespace: string | null; is_telemetry_enabled: boolean; } export const InstanceGeneralForm: FC = (props) => { const { data } = props; const {} = useForm({ defaultValues: { instance_name: data.instance_name, namespace: data.namespace, is_telemetry_enabled: data.is_telemetry_enabled, }, }); return (
); };