1.0.8 • Published 12 months ago

rn-signup-screen v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

rn-signup-screen A customizable signup screen component for React Native projects. Use this open source library in your fresh React Native project for instant startup.

Table of Contents

Installation

To use rn-signup-screen in your React Native project, simply install it using npm or yarn:

yarn add rn-signup-screen
or
npm install rn-signup-screen

Usage

To use the signup screen component in your app, import it from the rn-signup-screen package and render it as the second component in your app after splash screen. You can customize the appearance and behavior of the signup screen by passing in props.

How to use

import SignUpScreen from "rn-signup-screen";

function App() {
  return (
    <SignUpScreen
      placeholderFN={"Fast Name"}
      placeholderLN={"LastName"}
      placeholderMail={"Email"}
      placeholderPass={"Password"}
      placeholderConfPass={"Confirm Password"}
      backgroundColor={"#000"}
      bgSource={require("./src/assets/black1.jpg")}
      useLogo={true}
      useBg={true}
      Logo={"center"}
      source={require("./src/assets/cropped.png")}
      position={"center"}
      keyboardType
    />
  );
}

Props

The SignUpScreen component accepts the following props:

Prop NameData TypeDescription
placeholderFNanyYour First Name
-----------------------------------------------
placeholderLNanyYour Last Name
--------------------------------------------------------------
placeholderMailanyYour Email
-----------------------------
placeholderPassanyYour Password
-----------------------------
placeholderConfPassanyYour Confirm Password
-----------------------------
placeholderColoranyTextInput color
-----------------------------
backgroundColoranyYour Background
-----------------------------
RegisterSubmitTextanyYour Signup Button text
-----------------------------
bgSourcespecified path(req)Your background image
-----------------------------
useLogoboolUsing Logo or not
-----------------------------
useBgboolUsing Background Image or not if not using then backgroundColor will not work
-----------------------------
Logospecified valuesLogo position
-----------------------------
sourcespecified path(req)Logo source
-----------------------------
HeadingTextanymain heading
-----------------------------
HeadingTextStylespecified path(req)style to heading
-----------------------------
inputStyleanystyle to input
-----------------------------
LoginTextanyYour Login Text
-----------------------------
SubHeadinganyYour SubHeading Text
-----------------------------
imageStyleanyStyle to Logo
-----------------------------
positionspecified valuesBox alignment
-----------------------------
loginPressanyonPress for login
-----------------------------
SignUpPressanyonPress for signUp
-----------------------------
onBluranyonBlur
-----------------------------
onFocusanyonFocus
-----------------------------
onKeyPressanyonKeyPress
-----------------------------
keyboardTypeanykeyboardType

Contributors

We would like to thank the following developers for their contributions to this project:

To all our contributors, thank you for your hard work and dedication!

License

This package is released under the MIT License.

1.0.8

12 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago