import { GenericFieldLabel } from "@app/components/secret-syncs";
import { GcpSyncScope, TGcpSync } from "@app/hooks/api/secretSyncs/types/gcp-sync";
type Props = {
secretSync: TGcpSync;
};
export const GcpSyncDestinationSection = ({ secretSync }: Props) => {
const { destinationConfig } = secretSync;
return (
<>
{destinationConfig.projectId}
{destinationConfig.scope}
{destinationConfig.scope === GcpSyncScope.Region && (
{destinationConfig.locationId}
)}
>
);
};