DocSpace-buildtools/web/ASC.Web.Storybook/stories/drop-down/base
2019-07-26 17:23:58 +03:00
..
index.stories.js Web: Components: Added icon property for DropDownItem component. Fixed DropDown and DropDownItem stories. 2019-07-26 17:23:58 +03:00
README.md Web: Components: Added icon property for DropDownItem component. Fixed DropDown and DropDownItem stories. 2019-07-26 17:23:58 +03:00

DropDown

Usage

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

Description

Is a dropdown with any number of action

Usage

<DropDown opened={false}></DropDown>

Properties

Props Type Required Values Default Description
opened bool - - false Tells when the dropdown should be opened
directionX oneOf - left, right left Sets the opening direction relative to the parent
directionY oneOf - top, bottom bottom Sets the opening direction relative to the parent
manualWidth string - - - Required if you need to specify the exact width of the component, for example 100%
manualTop string - - - Required if you need to specify the exact distance from the parent component