DocSpace-client/packages/asc-web-components/social-button
2021-04-22 16:10:26 +03:00
..
index.js Web: Components/People/Login: Fixed warning ("React does not recognize prop") 2021-03-30 11:37:21 +03:00
README.md Web: Components/Common: fix imports 2021-02-26 00:19:45 +03:00
social-button.stories.js Web: Components: added stories for SelectorAddButton,SocialButton 2021-03-10 17:21:32 +03:00
social-button.test.js Web: Components: changed component hierarchy 2021-02-24 17:42:09 +03:00
styled-social-button.js Web: Components: Fixed warnings 2021-04-22 16:10:26 +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