Alexey Safronov
0cd4cb49ed
# Conflicts: # packages/asc-web-components/modal-dialog/index.js # packages/asc-web-components/themes/dark.js # public/locales/de/Common.json # web/ASC.Web.Client/src/Shell.jsx # web/ASC.Web.Client/src/components/pages/Confirm/sub-components/createUser.js # web/ASC.Web.Login/src/Login.jsx |
||
---|---|---|
.. | ||
index.js | ||
README.md | ||
social-button.stories.js | ||
social-button.test.js | ||
styled-social-button.js |
SocialButton
Button is used for sign up with help social networks
Usage
import SocialButton from "@appserver/components/social-button";
<SocialButton
iconName={"SocialButtonGoogleIcon"}
label={"Sign up with Google"}
/>
Properties
Props | Type | Required | Values | Default | Description |
---|---|---|---|---|---|
className |
string |
- | - | - | Accepts class |
iconName |
string |
- | - | SocialButtonGoogleIcon |
Icon of button |
id |
string |
- | - | - | Accepts id |
isDisabled |
bool |
- | - | false |
Tells when the button should present a disabled state |
label |
string |
- | - | - | Button text |
onClick |
func |
- | - | - | What the button will trigger when clicked |
style |
obj , array |
- | - | - | Accepts css style |