2.0.17 • Published 3 years ago
fa-react-button v2.0.17
Installation
npm install fa-react-buttonssocial login Buttons
you can view the ui for social login buttons here
https://i.imgur.com/nyFy7En.png
import {
Button,
FacebookButton,
GithubButton,
TwitterButton,
MicrosoftButton,
SlackButton,
AppleButton,
GoogleButton,
DiscordButton,
InstagramButton
} from "fa-react-button";
<SlackButton />
<FacebookButton />
<GithubButton />
<TwitterButton />
<MicrosoftButton />
<AppleButton />
<GoogleButton />
<DiscordButton />
<InstagramButton />
you can pass your class, id function, style and etc as props
Example
import React from 'react';
import {Button} from "fa-react-button"
const app = () => {
return (
<Button label="Click Me" color="dark" />
);
}
View Buttons here
https://i.imgur.com/MjwlQse.png
Note:
color property decides the background and text color of the buttoncolor:
dark: backgroundColor: black, color: white
light: backgroundColor: white, color: black
success: backgroundColor: green, color: white
danger: backgroundColor: red, color: white
primary: backgroundColor: blue, color: white
and if we dont pass any color it will return a button with
background color grey and color black2.0.17
3 years ago
2.0.16
3 years ago
2.0.15
3 years ago
2.0.14
3 years ago
2.0.13
3 years ago
2.0.12
3 years ago
2.0.11
3 years ago
2.0.10
3 years ago
2.0.9
3 years ago
2.0.8
3 years ago
2.0.7
3 years ago
2.0.6
3 years ago
2.0.5
3 years ago
2.0.4
3 years ago
2.0.3
3 years ago
2.0.2
3 years ago
2.0.1
3 years ago
2.0.0
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago