@maxhealth.tech/prefab / renderer / PrefabWireData
Interface: PrefabWireData
Defined in: renderer/index.ts:74
Properties
$prefab
$prefab: object;Defined in: renderer/index.ts:75
version
version: string;view
view: ComponentNode;Defined in: renderer/index.ts:76
state?
optional state?: Record<string, unknown>;Defined in: renderer/index.ts:77
theme?
optional theme?: object;Defined in: renderer/index.ts:79
Legacy structured theme (protocol 0.2). Protocol 0.3 ships the theme in css.
light?
optional light?: Record<string, string>;dark?
optional dark?: Record<string, string>;defs?
optional defs?: Record<string, ComponentNode>;Defined in: renderer/index.ts:80
keyBindings?
optional keyBindings?: Record<string, ActionJSON | ActionJSON[]>;Defined in: renderer/index.ts:81
css?
optional css?: string[];Defined in: renderer/index.ts:83
Inline CSS blocks injected as <style> (protocol 0.3).
stylesheets?
optional stylesheets?: string[];Defined in: renderer/index.ts:85
External CSS URLs loaded as <link rel="stylesheet"> (protocol 0.3).
mode?
optional mode?: "light" | "dark";Defined in: renderer/index.ts:87
Forced color scheme, independent of OS preference (protocol 0.3).
pipes?
optional pipes?: Record<string, string>;Defined in: renderer/index.ts:89
Custom pipe source code strings — hydrated by the renderer on mount.
layout?
optional layout?: object;Defined in: renderer/index.ts:91
Size hints for the host container.
preferredHeight?
optional preferredHeight?: number;minHeight?
optional minHeight?: number;maxHeight?
optional maxHeight?: number;