1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | import Component from '@ember/component'; import layout from '../../templates/components/polaris-stack/item'; export default Component.extend({ classNames: ['Polaris-Stack__Item'], classNameBindings: ['fill:Polaris-Stack__Item--fill'], layout, /* * Public attributes. */ /** * Elements to display inside stack item * * @property text * @type {string} * @default null */ text: null, /** * Fill the width of the stack * * @property fill * @type {boolean} * @default false */ fill: false, }); |