1.0.0 • Published 1 year ago

regiflow v1.0.0

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

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 (

    <div>
        <h1>Sign Up</h1>
        <SignUpForm />
    </div>
);

}

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.

1.0.0

1 year ago