0.0.6 • Published 3 years ago

react-action-buttons v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

React Action Buttons

A simple small package with action - (login / sign-in) button.

  1. at first issue it provides the Google login button
  2. in next steps, other branded buttons will be released (FB Github etc)

install

npm i react-action-buttons

yarn add react-action-buttons

usage

import

import { GoogleLoginButton } from 'react-action-buttons';

default values:

  • mode - light
  • label - Login wih google

alt gdefault

<GoogleLoginButton onClick={} />

dark mode:

  • mode - dark
  • label - Login wih google

alt gdefault

<GoogleLoginButton mode="dark" onClick={} />

dark mode:

  • mode - light
  • label - custom text

alt gdefault

<GoogleLoginButton onClick={}>
   custom text
</GoogleLoginButton>

OR

   <GoogleLoginButton onClick={} label="custom text" />
0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago