import { useTranslation } from 'next-i18next'; export type AwsSettingMoleculeProps = { s3ReferenceFileWithRelayMode s3Region s3CustomEndpoint s3Bucket s3AccessKeyId s3SecretAccessKey onChangeS3ReferenceFileWithRelayMode: (val: boolean) => void onChangeS3Region: (val: string) => void onChangeS3CustomEndpoint: (val: string) => void onChangeS3Bucket: (val: string) => void onChangeS3AccessKeyId: (val: string) => void onChangeS3SecretAccessKey: (val: string) => void }; export const AwsSettingMolecule = (props: AwsSettingMoleculeProps): JSX.Element => { const { t } = useTranslation(); return ( <>

{t('admin:app_setting.file_delivery_method_redirect_info')}
{t('admin:app_setting.file_delivery_method_relay_info')}

{ props?.onChangeS3Region(e.target.value); }} />
{ props?.onChangeS3CustomEndpoint(e.target.value); }} />

{t('admin:app_setting.custom_endpoint_change')}

{ props.onChangeS3Bucket(e.target.value); }} />
{ props?.onChangeS3AccessKeyId(e.target.value); }} />
{ props?.onChangeS3SecretAccessKey(e.target.value); }} />

{t('admin:app_setting.s3_secret_access_key_input_description')}

); };