npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-native-dark-login-screen

v0.1.1

Published

Extremely easy to create a React Native Component Library with both Stateful and Functional Component Examples.

Downloads

96

Readme

Battle Tested ✅

Installation

Add the dependency:

npm i react-native-dark-login-screen

Peer Dependencies

"react": ">= 16.x.x",
"react-native": ">= 0.55.x",

Usage

Import

import DarkLoginScreen from "react-native-dark-login-screen";

Fundamental Usage

<DarkLoginScreen
  handleSignInButton={() => {}}
  handleGoogleLogIn={() => {}}
  handleFacebookLogIn={() => {}}
  handleSignInButton={() => {}}
/>

Configuration - Props

Sign In Screen

| Property | Type | Default | Description | | ----------------------- | :-------: | :----------------------------: | ---------------------------------------------------------------------------------------- | | titleText | string | Welcome Back! | change the title text | | titleTextStyle | TextStyle | default | set or override the style object for the title text | | descriptionText | string | Please sign in to your account | change the description text | | descriptionTextStyle | TextStyle | default | set or override the style object for the description | | usernamePlaceholder | string | Username | change the username placeholder | | textInputStyle | ViewStyle | default | set or override the style object for the username, password, fullname, email text inputs | | placeholderTextColor | string | #6C6D72 | change the placeholder text | | passwordPlaceholder | string | Password | change the password placeholder | | passwordTextInputStyle | ViewStyle | default | set or override the style object for the password text input | | forgotPasswordText | string | Forgot Password? | change the forgot password text | | forgotPasswordTextStyle | TextStyle | default | change the forgot button's text | | signInButtonStyle | ViewStyle | default | set or override the style object for the sign in button style | | signInButtonText | string | Sign In | change the sign in button text | | signInButtonTextStyle | TextStyle | default | set or override the style object for the sign in button text style | | googleButtonStyle | View | default | set or override the style object for the google button style | | googleButtonTextStyle | TextStyle | default | set or override the style object for the google button text style | | googleButtonText | string | Sign In With Google | change the google button style | | facebookButtonStyle | ViewStyle | default | set or override the style object for the facebook button style | | facebookButtonTextStyle | TextStyle | default | set or override the style object for the facebook button text style | | facebookButtonText | string | Sign In With Facebook | change the facebook button text | | appleButtonStyle | ViewStyle | default | set or override the style object for the apple button style | | appleButtonTextStyle | TextStyle | default | set or override the style object for the apple button text style | | appleButtonText | string | Sign In With Apple | change the apple button text | | enableGoogleLogin | boolean | true | enable the google login button | | enableFacebookLogin | boolean | true | enable the facebook login button | | enableAppleLogin | boolean | true | enable the apple login button | | signUpQuestionText | string | Don't Have An Account ? | change the question to sign up screen | | signUpButtonText | string | Sign Up | change the sign up button text | | signUpTextStyle | TextStyle | default | change the sign up button style | | signUpButtonTextStyle | TextStyle | default | set or override the style object for the sign up button text style | | usernameChangeText | function | undefined | handle the usernameChangeText function | | passwordChangeText | function | undefined | handle the passwordChangeText function | | handleSignInButton | function | undefined | handle Sign In button is pressed | | handleGoogleLogIn | function | undefined | handle handleGoogleLogIn button is pressed | | handleAppleLogIn | function | undefined | handle handleAppleLogIn button is pressed | | handleFacebookLogIn | function | undefined | handle handleFacebookLogIn button is pressed | | handleForgotPassword | function | undefined | handle handleForgotPassword button is pressed | | handleSignUp | function | undefined | handle handleSignUp button is pressed for navigation to sign up screen | | enableForgotPassword | boolean | true | enable the forgot password button |

Sign Up Screen

| Property | Type | Default | Description | | -------------------------- | :-------: | :---------------------------------: | ---------------------------------------------------------------------------------------- | | signUpTitle | string | Create New Account | change the sign up screen title | | signUpDescriptionText | string | Please fill in the form to continue | change the sign up description | | signUpTitleTextStyle | TextStyle | default | change the title text style | | signUpDescriptionTextStyle | TextStyle | default | change the description text style | | fullNamePlaceholderText | string | Full Name | change the full name text input placeholder | | placeholderTextColor | string | #6C6D72 | change the placeholder text color | | textInputStyle | ViewStyle | default | set or override the style object for the username, password, fullname, email text inputs | | emailPlaceholderText | string | Email Address | change the placeholder for email text input | | passwordPlaceholder | string | Password | change the placeholder for password text input | | passwordTextInputStyle | ViewStyle | default | set or override the style object for the password text input | | signUpButtonText | string | Sign Up | change the sign up button text | | signUpButtonStyle | ViewStyle | default | set or override the style object for the sign up button style | | signUpButtonTextStyle | TextStyle | default | set or override the style object for the sign up button text style | | signInQuestionTextStyle | TextStyle | default | set or override the style object for the sign in question text style | | signInQuestionText | string | Have An Account? | change the sign in question text | | signInButtonTextStyle | TextStyle | default | set or override the style object for the sign in button text style | | signInButtonText | string | Sign In | change the sign in button text | | fullNameOnChange | function | undefined | handle fullNameOnChange input is changed | | emailOnChange | function | undefined | handle emailOnChange input is changed | | singUpPasswordChangeText | function | undefined | handle singUpPasswordChangeText is changed | | handleSignUpButton | function | undefined | handle handleSignUpButton is pressed | | handleSignIn | function | undefined | handle handleSignIn is pressed |

Future Plans

  • [x] ~~LICENSE~~
  • [ ] Light mode integration :)

Inspirer

Thanks to https://dribbble.com/shots/15196515-Abda-The-Beginning for the design.

Author

Sevval Eygul, [email protected]

License

React Native Typescript Library Starter is available under the MIT license. See the LICENSE file for more info.