/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import Component from '@glimmer/component'; /** * @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 */ export default class ToolbarSecretLink extends Component { get glyph() { return this.args.type === 'add' ? 'plus' : 'chevron-right'; } }