blob: b7be26059b1aa2578e98755089bb4f703435eee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import React from 'react'
import Header from '../../../components/Header/Header'
import BiometricCard from '../../../components/BiometricCard/BiometricCard'
import SubmitButton from '../../../components/SubmitButton/SubmitButton'
import { Link } from 'react-router-dom'
import { useTranslation } from 'react-i18next'
const BiometricSelect = ({ page, setPage }) => {
const { t } = useTranslation()
return (
<>
<Header subheading={t('UPDATE')} />
<BiometricCard label={t('PHOTOGRAPH')} onclick={() => setPage(0)} />
<BiometricCard label={t('FINGERPRINT_SCAN')} onclick={() => setPage(1)} />
<BiometricCard label={t('IRIS_SCAN')} onclick={() => setPage(2)} />
<Link to="/update/select-update">
<SubmitButton />
</Link>
</>
)
}
export default BiometricSelect
|