import { Field } from "react-final-form"; import React from "react"; import Error from "./Error"; import {classNames} from "../../styles/utils"; type COL_WIDTHS = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; interface Props { name: string; label?: string; placeholder?: string; columns?: COL_WIDTHS; className?: string; autoComplete?: string; } const PasswordField: React.FC = ({ name, label, placeholder, columns , className, autoComplete}) => (
{label && ( )} ( )} />
) export default PasswordField;