/** * @module ToolbarSecretLink * `ToolbarSecretLink` styles SecretLink for the Toolbar. * It should only be used inside of `Toolbar`. * * @example * ```js * * * * Create policy * * * * ``` * * @param type="" {String} - Use "add" to change icon */ import OuterHTML from './outer-html'; import { computed } from '@ember/object'; export default OuterHTML.extend({ glyph: computed('type', function () { if (this.type == 'add') { return 'plus'; } else { return 'chevron-right'; } }), tagName: '', supportsDataTestProperties: true, });