0.2.4 • Published 10 months ago
@tophmey/password-form-library v0.2.4
Password Form Library
A React library for password components.
Peer Dependencies
- React
Usage
Password Form Library exposes two React components, that can be imported as:
- PasswordInput
- CreatePasswordForm
PasswordInput
React Component that renders a password input.
- Accepts an inputRef that is forwarded to the input node.
CreatePasswordForm
React Component that renders a form containing password entry fields, error reporting, a submit button, and a success dialog.
TODO
- config vite for react
- config eslint for react
- config vite for library mode
- add vitest
- config vitest
- add react-testing-library
- config react-testing-library
- configure demo
- configure library
- create tests for library
- create components for library
- create components for demo
- configure library build
- create github repo
- configure github repo
- convert to typescript?
- move validation utilities to library