/* eslint-disable import/extensions */
import hbs from 'htmlbars-inline-precompile';
import { storiesOf } from '@storybook/ember';
import { withKnobs, text } from '@storybook/addon-knobs';
import notes from './empty-state.md';
storiesOf('EmptyState/', module)
.addParameters({ options: { showPanel: true } })
.addDecorator(withKnobs({escapeHTML: false}))
.add(`EmptyState`, () => ({
template: hbs`
Empty State
`,
context: {
title: text('Title', 'You don\'t have an secrets yet'),
message: text('Message', 'An explanation of why you don\'t have any secrets but also you maybe want to create one.')
},
}),
{notes}
)
.add(`EmptyState with content block`, () => ({
template: hbs`
Empty State
Learn about KV v2
`,
context: {
title: text('Title', 'You don\'t have an secrets yet'),
message: text('Message', 'An explanation of why you don\'t have any secrets but also you maybe want to create one.')
},
}),
{notes}
);