import hbs from 'htmlbars-inline-precompile';
import productMetadata from '../../app/utils/styleguide/product-metadata';
export default {
title: 'Components|Accordion',
};
export let Standard = () => {
return {
template: hbs`
Accordion
{{ac.item.name}}
{{ac.item.lang}}
{{ac.item.name}}
{{ac.item.desc}}
Learn more...
`,
context: {
products: productMetadata,
},
};
};
export let OneItem = () => {
return {
template: hbs`
Accordion, one item
{{a.item.name}}
{{a.item.lang}}
{{a.item.name}}
{{a.item.desc}}
Learn more...
`,
context: {
products: productMetadata,
},
};
};
export let NotExpandable = () => {
return {
template: hbs`
Accordion, not expandable
{{a.item.name}}
{{a.item.lang}}
{{a.item.name}}
{{a.item.desc}}
Learn more...
`,
context: {
products: productMetadata,
},
};
};