20a9cd7a1e
* add wormhole div for ember-basic-dropdown * add content to the PopupMenu story
28 lines
713 B
JavaScript
28 lines
713 B
JavaScript
/* eslint-disable import/extensions */
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
import { storiesOf } from '@storybook/ember';
|
|
import notes from './popup-menu.md';
|
|
|
|
|
|
storiesOf('PopupMenu/', module)
|
|
.addParameters({ options: { showPanel: true } })
|
|
.add(`PopupMenu`, () => ({
|
|
template: hbs`
|
|
<h5 class="title is-5">Popup Menu</h5>
|
|
<PopupMenu>
|
|
<nav class="menu">
|
|
<ul class="menu-list">
|
|
<li class="action">
|
|
<button type="button" class="button link">
|
|
Popup content goes here!
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</nav>
|
|
</PopupMenu>
|
|
`,
|
|
context: {},
|
|
}),
|
|
{notes}
|
|
);
|