open-nomad/ui/stories/components/table-configuration.stories.js
Buck Doyle 77b4d59f5d
Change edition to Octane (#8418)
This updates the Ember edition setting to Octane, which I removed from #8319
because it required the template-only Glimmer components setting to be turned
on, which this does. These changes to templates accommodate that setting.
2020-07-13 09:26:12 -05:00

41 lines
905 B
JavaScript

import hbs from 'htmlbars-inline-precompile';
export default {
title: 'Components|Table, Configuration',
};
export let TableConfiguration = () => {
return {
template: hbs`
<h5 class="title is-5">Table, configuration</h5>
<AttributesTable @attributePairs={{attributes}} @class="attributes-table" />
`,
context: {
attributes: {
key: 'val',
deep: {
key: 'val',
more: 'stuff',
},
array: ['one', 'two', 'three', 'four'],
very: {
deep: {
key: {
incoming: {
one: 1,
two: 2,
three: 3,
four: 'surprisingly long value that is unlike the other properties in this object',
},
},
},
},
},
},
};
};
TableConfiguration.story = {
title: 'Table, Configuration',
};