@unlayer/types 1.474.0 → 1.476.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editor/editor.d.ts +6 -0
- package/package.json +1 -1
package/dist/editor/editor.d.ts
CHANGED
|
@@ -27,6 +27,12 @@ export type ImageSource = 'unsplash' | 'pixabay' | 'pexel' | 'user';
|
|
|
27
27
|
export interface ToolConfig {
|
|
28
28
|
enabled?: boolean | undefined;
|
|
29
29
|
icon?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Used by classic themes (`classic_light`, `classic_dark`, and custom themes
|
|
32
|
+
* extending them). Optional, and takes the same values as `icon`. Omit it and
|
|
33
|
+
* `icon` applies to every theme.
|
|
34
|
+
*/
|
|
35
|
+
classicIcon?: string | undefined;
|
|
30
36
|
position?: number | undefined;
|
|
31
37
|
properties?: object | undefined;
|
|
32
38
|
sections?: object | undefined;
|