27bb03bbc0
* adding copyright header * fix fmt and a test
31 lines
606 B
JavaScript
31 lines
606 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*/
|
|
|
|
/**
|
|
* @module ToolbarActions
|
|
* `ToolbarActions` is a container for toolbar links such as "Add item".
|
|
* It should only be used inside of `Toolbar`.
|
|
*
|
|
* @example
|
|
* ```js
|
|
* <Toolbar>
|
|
* <ToolbarActions>
|
|
* <ToolbarLink @route="vault.cluster.policy.edit">
|
|
* Edit policy
|
|
* </ToolbarLink>
|
|
* </ToolbarActions>
|
|
* </Toolbar>
|
|
* ```
|
|
*
|
|
*/
|
|
|
|
import Component from '@ember/component';
|
|
import layout from '../templates/components/toolbar-actions';
|
|
|
|
export default Component.extend({
|
|
tagName: '',
|
|
layout,
|
|
});
|