// Copyright 2023 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only import React from 'react'; import type { LocalizerType } from '../types/Util'; import { Button, ButtonVariant } from './Button'; import { Modal } from './Modal'; export type PropsType = Readonly<{ i18n: LocalizerType; onNext: () => void; onSkip: () => void; onClose: () => void; }>; export function UsernameOnboardingModal({ i18n, onNext, onSkip, onClose, }: PropsType): JSX.Element { return (
{i18n('icu:UsernameOnboardingModalBody__title')}

{i18n('icu:UsernameOnboardingModalBody__row__number__title')}

{i18n('icu:UsernameOnboardingModalBody__row__number__body')}

{i18n('icu:UsernameOnboardingModalBody__row__username__title')}

{i18n('icu:UsernameOnboardingModalBody__row__username__body')}

{i18n('icu:UsernameOnboardingModalBody__row__qr__title')}

{i18n('icu:UsernameOnboardingModalBody__row__qr__body')}
); }