diff --git a/components/Check.tsx b/components/Check.tsx new file mode 100644 index 0000000..cd7a3f3 --- /dev/null +++ b/components/Check.tsx @@ -0,0 +1,20 @@ +import {useTranslation} from 'next-i18next'; + +interface CheckProps { + text: string; +} + +function Check(props: CheckProps): JSX.Element { + const { t } = useTranslation(["index"]); + + return ( +
  • + + + + {props.text} +
  • + ) +} + +export default Check; \ No newline at end of file diff --git a/components/Form.tsx b/components/Form.tsx index e053b42..7cf46e7 100644 --- a/components/Form.tsx +++ b/components/Form.tsx @@ -7,6 +7,7 @@ import Link from 'next/link'; import Card from "./Card"; import Alert from "./Alert"; +import Check from './Check'; import {PayloadBody} from "../src/payload"; import {getPayloadBodyFromFile, getPayloadBodyFromQR} from "../src/process"; import {PassData} from "../src/pass"; @@ -238,6 +239,13 @@ function Form(): JSX.Element { .

    +
    + +