@dosgato/templating 0.0.128 → 0.0.129
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/uitemplate.d.ts +1 -1
- package/package.json +1 -1
package/dist/uitemplate.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export interface UITemplate {
|
|
|
66
66
|
* anotherArea: [componentData3]
|
|
67
67
|
* }
|
|
68
68
|
*/
|
|
69
|
-
defaultContent?: Record<string, ComponentData[]
|
|
69
|
+
defaultContent?: Record<string, ComponentData[]> | ((data: ComponentData) => Record<string, ComponentData[]>);
|
|
70
70
|
/**
|
|
71
71
|
* if present this SVG will be used when presenting users with
|
|
72
72
|
* an array of choices of templates to create. Ideally it should look
|