mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Styleguide entry for Table, Configuration
This commit is contained in:
24
ui/app/components/freestyle/sg-table-configuration.js
Normal file
24
ui/app/components/freestyle/sg-table-configuration.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import Component from '@ember/component';
|
||||
|
||||
export default Component.extend({
|
||||
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',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
{{#freestyle-usage "table-configuration" title="Table, Configuration"}}
|
||||
{{attributes-table attributes=attributes class="attributes-table"}}
|
||||
{{/freestyle-usage}}
|
||||
@@ -80,6 +80,7 @@
|
||||
{{/section.subsection}}
|
||||
|
||||
{{#section.subsection name="Table, Configuration"}}
|
||||
{{freestyle/sg-table-configuration}}
|
||||
{{/section.subsection}}
|
||||
|
||||
{{#section.subsection name="Timeline"}}
|
||||
|
||||
Reference in New Issue
Block a user