regiflow
v1.0.0
Published
A lightweight React sign-up form component that includes fields for First Name, Last Name, email, username, and phone number validation.
Downloads
5
Readme
My Sign-Up Form Component A lightweight and customizable React sign-up form component with phone number validation.
Installation Install the package using npm:
npm install my-signup-form
Usage Import the SignUpForm component into your project and include it in your form:
import React from 'react'; import SignUpForm from 'my-signup-form';
function App() { return ( Sign Up ); }
export default App;
Props The SignUpForm component accepts the following props:
onChange: A callback function triggered when the phone number input value changes. Features First Name, Last Name, email, username, and phone number fields. Phone number validation using the phone package. Customizable styling. Example Check out the example project for a complete usage example.
License This project is licensed under the MIT License - see the LICENSE file for details.