import type { ChangeEvent, FocusEvent } from 'react' import React from 'react' import { T9n } from 'features/T9n' import { WrapperProps, InputWrapper, InputStyled, Label, Error, Column, } from './styled' type Props = { defaultValue?: string, id: string, inputWidth?: number, label?: string, labelLexic?: string, labelWidth?: number, maxLength?: number, onBlur?: (event: FocusEvent) => void, onChange?: (event: ChangeEvent) => void, pattern?: string, required?: boolean, title?: string, type?: string, value?: string, } & WrapperProps export const Input = ({ defaultValue, error, id, inputWidth, label, labelLexic, labelWidth, maxLength, onBlur, onChange, paddingX, pattern, required, title, type, value, wrapperWidth, }: Props) => ( {error && } )