import { h } from 'preact'; import './designSystem.scss'; storiesOf('Components/HTML/Dropdowns', module) .add('Description', () => (
Dropdowns should have position relative to it’s trigger. They can be used for some 2nd level navigations, contextual configurations, etc...
Dropdowns should not be bigger than 320px.
Dropdown default padding should be dependent on width:
If you need to utilize entire dropdown area and you have to get rid of
default padding, please use modifier class
crayons-dropdown--padding-0.
FYI: Dropdowns use “Box” component as background, with Level 3 elevation.