DocSpace-client/packages/components/social-button
2023-04-19 01:46:21 +03:00
..
index.js Components: SocialButton: fix warning 2022-09-21 02:15:26 +03:00
README.md Web: Moved all clients app to packages directory 2022-07-22 22:01:25 +03:00
social-button.stories.js Web:Common/Client/Components: add PUBLIC_DIR alias 2023-01-27 17:08:30 +03:00
social-button.test.js Web:Common/Client/Components: add PUBLIC_DIR alias 2023-01-27 17:08:30 +03:00
styled-social-button.js Components: SocialButtons: svg fill in dark theme 2023-04-19 01:46:21 +03:00

SocialButton

Button is used for sign up with help social networks

Usage

import SocialButton from "@docspace/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