import { Localized } from "@fluent/react/compat" ; import React , { FunctionComponent } from "react" ; import { PropTypesOf } from "coral-framework/types" ; import { PasswordField as PasswordFieldUI } from "coral-ui/components/v2" ; type Props = Omit < PropTypesOf < typeof PasswordFieldUI > , "showPasswordTitle" | "hidePasswordTitle" > ; const PasswordField = ( props ) => ( < Localized id = "framework-passwordField" attrs = { { showPasswordTitle : true , hidePasswordTitle : true } } > < PasswordFieldUI { ... props } / > < /Localized>); export default PasswordField ;