1.0.1 • Published 1 year ago

mui-passwordtextfield v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

NameTypeDescription
iconButtonPropsIconButtonPropsUses MUI Icon Button Props here
InputPropsInputPropsTo change the properties of the input

InputProps

NameTypeDescription
withToggleVisibilityReact ElemetAppears on the left of the Toggle Visibility Button
-Continue-MUI's InputPropsUses MUI Input Props here

License

The files included in this repository are licensed under the MIT license.