npm.io
1.0.1 • Published 3 years ago

mui-passwordtextfield

Licence
MIT
Version
1.0.1
Deps
4
Size
23 kB
Vulns
0
Weekly
0

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.

Keywords