DocSpace-client/packages/asc-web-components/social-button
2022-03-16 11:44:03 +03:00
..
index.js Web: Components: fix social buttons style 2022-01-28 11:46:45 +03:00
README.md
social-button.stories.js
social-button.test.js
styled-social-button.js Web: Components: fix social buttons theme 2022-03-16 11:44:03 +03:00

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