Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
EmbeddedSchematicNode
Embed a schematic node using the host component.
Import
import { EmbeddedSchematicNode } from "@dartwic/interface-sdk/ui";Declaration
export const EmbeddedSchematicNode: HostComponent<EmbeddedSchematicNodeProps>;EmbeddedSchematicNodeProps
One remote schematic node embedded in a plugin view.
export interface EmbeddedSchematicNodeProps extends HostComponentProps {
commandEnabled?: boolean;
schematicPath?: string;
nodeId?: string;
}| Prop | Type | Requirement | Description |
|---|---|---|---|
commandEnabled | boolean | Optional | |
schematicPath | string | Optional | |
nodeId | string | Optional | |
className | string | Optional | Additional Tailwind or host CSS classes. |
children | HostNode | Optional | Child content rendered by the host component. |
id | string | Optional | Optional DOM identifier. |
style | Record<string, unknown> | Optional | Inline style values passed to the host component. |