open-vault/ui/lib/core/addon/components/toolbar-actions.js
Joshua Ogle 5c5a33f6df
UI: Add Toolbar to Storybook (#6761)
* Add Toolbar stories
* Update ConfirmAction story
2019-05-20 18:10:42 -06:00

26 lines
539 B
JavaScript

/**
* @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>
* ```
*
*/
import Component from '@ember/component';
import layout from '../templates/components/toolbar-actions';
export default Component.extend({
tagName: '',
layout,
});