import React, { useState } from "react"; import styles from "./styles.module.css"; import CloseIcon from "@/app/components/icons/close"; import TextField from "@/app/components/fields/textfield"; import AddIcon from "@/app/components/icons/add"; import PrimaryButton from "@/app/components/buttons/primarybutton/PrimaryButton"; import SelectField from "@/app/components/select/SelectField"; import RadioButton from "@/app/components/radio-button/RadioButton"; const AddConfigMapModal = (props) => { const [typeOption, setTypeOption] = useState("raw"); return (

Config Maps

props.setTriggerAddConfigMap(false)} />

Sub Path

Mount Path

Type

setTypeOption(e.target.value)} label="Raw" /> setTypeOption(e.target.value)} label="Credential" />

Value

{typeOption === "raw" ? ( ) : ( )}
} />
); }; export default AddConfigMapModal;