2.0.17 • Published 9 months ago
fa-react-button v2.0.17
Installation
npm install fa-react-buttons
social 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 button
color:
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 black
2.0.17
9 months ago
2.0.16
9 months ago
2.0.15
9 months ago
2.0.14
9 months ago
2.0.13
9 months ago
2.0.12
9 months ago
2.0.11
9 months ago
2.0.10
9 months ago
2.0.9
9 months ago
2.0.8
9 months ago
2.0.7
9 months ago
2.0.6
9 months ago
2.0.5
9 months ago
2.0.4
9 months ago
2.0.3
9 months ago
2.0.2
9 months ago
2.0.1
9 months ago
2.0.0
9 months ago
1.0.13
9 months ago
1.0.12
9 months ago
1.0.11
9 months ago
1.0.10
9 months ago
1.0.9
9 months ago
1.0.8
9 months ago
1.0.7
9 months ago
1.0.6
9 months ago
1.0.5
9 months ago
1.0.4
9 months ago
1.0.3
9 months ago
1.0.2
9 months ago
1.0.1
9 months ago
1.0.0
9 months ago