2019-05-13 19:05:25 +00:00
|
|
|
/* 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>
|
2019-05-20 19:19:50 +00:00
|
|
|
<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>
|
2019-05-13 19:05:25 +00:00
|
|
|
`,
|
|
|
|
context: {},
|
|
|
|
}),
|
|
|
|
{notes}
|
|
|
|
);
|