import React from 'react'; import PropTypes from 'prop-types'; import { BLOCK_SIZES, FLEX_DIRECTION, DISPLAY, AlignItems, Color, TextVariant, } from '../../../../helpers/constants/design-system'; import Box from '../../../ui/box'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import { Label, TEXT_FIELD_TYPES, TextField } from '../../../component-library'; const PasswordInput = ({ setPassword }) => { const t = useI18nContext(); return ( setPassword(event.target.value)} data-testid="password-input" /> ); }; PasswordInput.propTypes = { setPassword: PropTypes.func.isRequired, }; export default PasswordInput;