mui-passwordtextfield
v1.0.1
Published
> A package that enhances the MUI Text Field by adding a visibility button allowing users to have the values in a password text field visible or invisible.
Downloads
4
Readme
MUI-PasswordTextField
A package that enhances the MUI Text Field by adding a visibility button allowing users to have the values in a password text field visible or invisible.
Installation
npm install mui-passwordtextfield
or
yarn add mui-passwordtextfield
Usage
import PasswordTextField from 'mui-passwordtextfield';
const App = () => {
return <PasswordTextField />;
};
export default App;
API
PasswordTextField
Element
| Name | Type | Description | | --------------- | --------------- | ------------------------------------------------------------------------------- | | iconButtonProps | IconButtonProps | Uses MUI Icon Button Props here | | InputProps | InputProps | To change the properties of the input |
InputProps
| Name | Type | Description | | -------------------- | ---------------- | ------------------------------------------------------------------------ | | withToggleVisibility | React Elemet | Appears on the left of the Toggle Visibility Button | | -Continue- | MUI's InputProps | Uses MUI Input Props here |
License
The files included in this repository are licensed under the MIT license.