File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
blueprints-integration/src Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,10 @@ export interface IBlueprintActionTriggerMode {
64
64
label : ITranslatableMessage
65
65
/** An optional, longer description that will not be immediately visible to the user */
66
66
description ?: ITranslatableMessage
67
- /** An icon to be displayed to the user next to the label */
67
+ /** An icon to be displayed to the user next to the label
68
+ *
69
+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
70
+ */
68
71
icon ?: string
69
72
}
70
73
}
Original file line number Diff line number Diff line change @@ -21,9 +21,15 @@ export interface UserEditingDefinitionAction {
21
21
id : string
22
22
/** Label to show to the user for this operation */
23
23
label : ITranslatableMessage
24
- /** Icon to show when this action is 'active' */
24
+ /** Icon to show when this action is 'active'
25
+ *
26
+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
27
+ */
25
28
icon ?: string
26
- /** Icon to show when this action is 'disabled' */
29
+ /** Icon to show when this action is 'disabled'
30
+ *
31
+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL
32
+ */
27
33
iconInactive ?: string
28
34
/** Whether this action should be indicated as being active */
29
35
isActive ?: boolean
Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ export interface CoreUserEditingDefinitionAction {
18
18
id : string
19
19
/** Label to show to the user for this operation */
20
20
label : ITranslatableMessage
21
- /** Icon to show when this action is 'active' */
21
+ /** Icon to show when this action is 'active'.
22
+ *
23
+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL */
22
24
icon ?: string
23
- /** Icon to show when this action is 'disabled' */
25
+ /** Icon to show when this action is 'disabled'.
26
+ *
27
+ * This can either be a relative URL to an image in the Blueprints assets or a `data:` URL */
24
28
iconInactive ?: string
25
29
/** Whether this action should be indicated as being active */
26
30
isActive ?: boolean
You can’t perform that action at this time.
0 commit comments