Newer
Older
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
import { SgeStore } from 'models'
import React from 'react'
import { SGEKeysForm } from './SgeConnectView'
interface StepConsentProps {
sgeState: SgeStore
const StepConsent = ({ sgeState, onChange }: StepConsentProps) => {
<div className="stepDetails stepConsent">
<div className="text-16-normal">
{t('auth.enedissgegrandlyon.headConsent')}
{t('auth.enedissgegrandlyon.textConsent')}
<li>{t('auth.enedissgegrandlyon.consentLi1')}</li>
<li>{t('auth.enedissgegrandlyon.consentLi2')}</li>
<li>{t('auth.enedissgegrandlyon.consentLi3')}</li>
<li>{t('auth.enedissgegrandlyon.consentLi4')}</li>
<input
id="dataConsent"
type="checkbox"
name="Data-consent-validation"
className="inputCheckbox"
onChange={e => onChange('dataConsent', e.target.checked)}
<span
dangerouslySetInnerHTML={{
__html: t('auth.enedissgegrandlyon.consentCheck1'),
}}
/>
<input
id="pdlConfirm"
type="checkbox"
name="Data-consent-validation"
className="inputCheckbox"
onChange={e => onChange('pdlConfirm', e.target.checked)}
<span
dangerouslySetInnerHTML={{
__html: t('auth.enedissgegrandlyon.consentCheck2'),
}}
/>
</label>
</div>
)
}
export default StepConsent