import { useDockerComposeSchema } from '@/react/hooks/useDockerComposeSchema/useDockerComposeSchema';
import { InlineLoader } from '@@/InlineLoader';
import { WebEditorForm } from '@@/WebEditorForm';
export function DockerContentField({
error,
onChange,
readonly,
value,
isLoading,
}: {
value: string;
onChange: (value: string) => void;
error?: string;
readonly?: boolean;
isLoading?: boolean;
}) {
const dockerComposeSchemaQuery = useDockerComposeSchema();
if (isLoading || dockerComposeSchemaQuery.isInitialLoading) {
return Loading stack content...;
}
return (
You can get more information about Compose file format in the{' '}
official documentation
.
);
}