DocSpace-buildtools/web/ASC.Web.Storybook/stories/selected-item/base
2019-08-07 18:17:21 +03:00
..
index.stories.js web: components: added SelectedItem component 2019-08-07 18:17:21 +03:00
README.md web: components: added SelectedItem component 2019-08-07 18:17:21 +03:00

SelectedItem

Usage

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

Usage


<SelectedItem text="Direction"></SelectedItem>

Properties

Props Type Required Values Default Description
isDisabled bool - - false Tells when the button should present a disabled state
text string - - - Selected item text
isInline bool - - true Sets the 'display: inline-block' property
clickAction function - - - What the selected item will trigger when clicked