import React from 'react'; import { translate } from '@aws-amplify/ui'; import { TextField } from '../../../primitives/TextField'; export interface ConfirmationCodeInputProps { errorText?: string; labelHidden?: boolean; label?: string; placeholder?: string; required?: boolean; type?: string; } export const ConfirmationCodeInput = ( props: ConfirmationCodeInputProps ): JSX.Element => { const { errorText, labelHidden = true, label = `${translate('Code')} *`, placeholder = translate('Code'), required = true, type = 'number', } = props; return ( ); };