DocSpace-buildtools/web/ASC.Web.Storybook/stories/group-button/base
2019-07-18 14:11:36 +03:00
..
index.stories.js web: components: Re-written GroupButton component to class style (issue: useState, useEffect break React functional components rules of usage) 2019-07-18 14:11:36 +03:00
README.md Moved Storybook to separated ASC.Web.Storybook folder (issue: 'git clean -xdf' removes storybook files every time) 2019-07-09 17:54:30 +03:00

GroupButton

Usage

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

Description

Base Button is used for a group action on a page.

Usage

<GroupButton label='Group button' disabled={false} isDropdown={false} opened={false} ></GroupButton>

Properties

Props Type Required Values Default Description
label string - - Group button Value of the group button
disabled bool - - false Tells when the button should present a disabled state
isDropdown bool - - false Tells when the button should present a dropdown state
opened bool - - false Tells when the button should be opened by default
action func - - - What the button will trigger when clicked