|
|
|
@ -5,6 +5,7 @@ import { XIcon } from "@heroicons/react/outline";
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
getFinalValues,
|
|
|
|
getFinalValues,
|
|
|
|
getInitialValues,
|
|
|
|
getInitialValues,
|
|
|
|
|
|
|
|
tabs,
|
|
|
|
validationSchema
|
|
|
|
validationSchema
|
|
|
|
} from "./form-utils";
|
|
|
|
} from "./form-utils";
|
|
|
|
import General from "./General";
|
|
|
|
import General from "./General";
|
|
|
|
@ -16,21 +17,6 @@ interface ICreateVolumeModalProps {
|
|
|
|
onAddEndpoint: CallbackFunction;
|
|
|
|
onAddEndpoint: CallbackFunction;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const tabs = [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: "General",
|
|
|
|
|
|
|
|
href: "#",
|
|
|
|
|
|
|
|
current: true,
|
|
|
|
|
|
|
|
hidden: false
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: "Labels",
|
|
|
|
|
|
|
|
href: "#",
|
|
|
|
|
|
|
|
current: false,
|
|
|
|
|
|
|
|
hidden: false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const classNames = (...classes: string[]) => classes.filter(Boolean).join(" ");
|
|
|
|
const classNames = (...classes: string[]) => classes.filter(Boolean).join(" ");
|
|
|
|
|
|
|
|
|
|
|
|
const CreateVolumeModal = (props: ICreateVolumeModalProps) => {
|
|
|
|
const CreateVolumeModal = (props: ICreateVolumeModalProps) => {
|
|
|
|
|