storybook/examples/ember-cli/stories/addon-backgrounds.stories.js

29 lines
533 B
JavaScript

import { hbs } from 'ember-cli-htmlbars';
export default {
title: 'Addon/Backgrounds',
parameters: {
backgrounds: [
{ name: 'light', value: '#eeeeee' },
{ name: 'dark', value: '#222222', default: true },
],
},
};
export const Story1 = () => ({
template: hbs`<button>You should be able to switch backgrounds for this story</button>`,
});
Story1.story = {
name: 'story 1',
};
export const Story2 = () => ({
template: hbs`<button>This one too!</button>`,
});
Story2.story = {
name: 'story 2',
};