diff --git a/docs/extension-system/extension-types/actions.md b/docs/extension-system/extension-types/actions.md index 27c1e075e12..7dd456ade1d 100644 --- a/docs/extension-system/extension-types/actions.md +++ b/docs/extension-system/extension-types/actions.md @@ -20,10 +20,10 @@ This is what the ActionExtension interface looks like: ```typescript interface ActionExtension { - id: string - type: 'action' - scopes?: ExtensionScope[] - action: Action // Please check the Action section below + id: string + type: 'action' + scopes?: ExtensionScope[] + action: Action // Please check the Action section below } ``` @@ -32,12 +32,66 @@ For `id`, `type`, and `scopes`, please see [extension base section]({{< ref "../ #### Action The most important configuration options are: + - `icon` - The icon to be displayed, can be picked from https://owncloud.design/#/Design%20Tokens/IconList - `name` - The name of the action (not displayed in the UI) - `label` - The text to be displayed - `route` - The string/route to navigate to, if the nav item should be a `` - `handler` - The action to perform upon click, if the nav item should be a `