Added types

This commit is contained in:
Lucas Oliveira 2024-03-26 21:52:23 +02:00
commit 42739a29cf

View file

@ -70,16 +70,16 @@ export default function AddNewVariableButton({ children }): JSX.Element {
}} }}
placeholder="Insert a name for the variable..." placeholder="Insert a name for the variable..."
></Input> ></Input>
{/* <Label>Type (optional) </Label> <Label>Type</Label>
<InputComponent <InputComponent
setSelectedOption={(e) => { setSelectedOption={(e) => {
setType(e); setType(e);
}} }}
selectedOption={type} selectedOption={type}
password={false} password={false}
options={["OPENAI_API_KEY", "ANTHROPIC_API_KEY"]} options={["Variable", "Credential"]}
placeholder="Choose a type between the environment variables..." placeholder="Choose a type for the variable..."
></InputComponent> */} ></InputComponent>
<Label>Value</Label> <Label>Value</Label>
<Textarea <Textarea
value={value} value={value}