Files
cameleer-server/ui/src/pages/AppsTab/AppDeploymentPage/ConfigTabs/VariablesTab.tsx
2026-04-22 23:45:19 +02:00

19 lines
482 B
TypeScript

import { EnvEditor } from '../../../../components/EnvEditor';
import type { VariablesFormState } from '../hooks/useDeploymentPageState';
interface Props {
value: VariablesFormState;
onChange: (next: VariablesFormState) => void;
disabled?: boolean;
}
export function VariablesTab({ value, onChange, disabled }: Props) {
return (
<EnvEditor
value={value.envVars}
onChange={(entries) => onChange({ envVars: entries })}
disabled={disabled}
/>
);
}