mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-20 21:18:18 +00:00
20 lines
546 B
TypeScript
20 lines
546 B
TypeScript
import { GenericFieldLabel } from "@app/components/secret-syncs";
|
|
import { TChefSync } from "@app/hooks/api/secretSyncs/types/chef-sync";
|
|
|
|
type Props = {
|
|
secretSync: TChefSync;
|
|
};
|
|
|
|
export const ChefSyncDestinationSection = ({ secretSync }: Props) => {
|
|
const { destinationConfig } = secretSync;
|
|
|
|
return (
|
|
<>
|
|
<GenericFieldLabel label="Data Bag">{destinationConfig.dataBagName}</GenericFieldLabel>
|
|
<GenericFieldLabel label="Data Bag Item">
|
|
{destinationConfig.dataBagItemName}
|
|
</GenericFieldLabel>
|
|
</>
|
|
);
|
|
};
|