DocSpace-client/web/ASC.Web.Components/example/stories/buttons/huge/README.md
Alexey Safronov bb7203ae8d web: components:
+ Added label to Button component
+ Changed README files
+ Added new Button with Loader and it's story
+ Simplified all.buttons.stories.js
+ Added nowrap to Button component
2019-06-06 12:16:14 +03:00

1.5 KiB

Buttons: Button

Usage

import { Button } from 'asc-web-components';

Description

Huge Button is used for a action on a page.

Usage

<Button size='huge' isDisabled={false} onClick={() => alert('Button clicked')} label="OK" />

Properties

Props Type Required Values Default Description
primary bool - - - Tells when the button should be primary
isDisabled bool - - - Tells when the button should present a disabled state
onClick func - - What the button will trigger when clicked
size oneOf - base, middle, big, huge base Size of button
label string - - - Button text