import React, { useState } from "react"; import tw from "tailwind-styled-components"; interface CurrentEnvProps { data: any; } const CurrentEnv: React.FC = ({ data }) => { const [agentName, setAgentName] = useState("mini-agi"); const [reportLocation, setReportLocation] = useState( "../reports/mini-agi" ); const [openAiKey, setOpenAiKey] = useState(); return ( Env Variables Agent Name setAgentName(e.targetValue)} placeholder="mini-agi" /> Report Location OpenAI Key ); }; export default CurrentEnv; const CurrentEnvContainer = tw.div` w-full h-full flex flex-col justify-center `; const Title = tw.h3` font-bold text-lg text-center `; const EnvWrapper = tw.div` flex mt-4 justify-between items-center `; const EnvLabel = tw.label` `; const EnvInput = tw.input` border rounded px-2 `;