mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 03:57:01 +02:00
25 lines
817 B
Markdown
25 lines
817 B
Markdown
<!--THIS FILE IS AUTO GENERATED. This file is generated from JSDoc comments in lib/core/addon/components/toolbar-actions.js. To make changes, first edit that file and run "yarn gen-story-md toolbar-actions" to re-generate the content.-->
|
|
|
|
## 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>
|
|
```
|
|
|
|
**See**
|
|
|
|
- [Uses of ToolbarActions](https://github.com/hashicorp/vault/search?l=Handlebars&q=ToolbarActions+OR+toolbar-actions)
|
|
- [ToolbarActions Source Code](https://github.com/hashicorp/vault/blob/master/ui/lib/core/addon/components/toolbar-actions.js)
|
|
|
|
---
|