2019-05-21 00:10:42 +00:00
|
|
|
/**
|
|
|
|
* @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 @params={{array 'vault.cluster.policy.edit'}}>
|
|
|
|
* Edit policy
|
|
|
|
* </ToolbarLink>
|
|
|
|
* </ToolbarActions>
|
|
|
|
* </Toolbar>
|
|
|
|
* ```
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
import Component from '@ember/component';
|
2019-05-13 19:05:25 +00:00
|
|
|
import layout from '../templates/components/toolbar-actions';
|
2018-05-23 16:25:52 +00:00
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default Component.extend({
|
2018-05-23 16:25:52 +00:00
|
|
|
tagName: '',
|
2019-05-13 19:05:25 +00:00
|
|
|
layout,
|
2018-05-23 16:25:52 +00:00
|
|
|
});
|