Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

EmbeddedRemoteView

Embed a remote engine view using the host component.

Import

import { EmbeddedRemoteView } from "@dartwic/interface-sdk/ui";

Declaration

export const EmbeddedRemoteView: HostComponent<EmbeddedRemoteViewProps>;

EmbeddedRemoteViewProps

Remote view embedded in a plugin resource or schematic.

export interface EmbeddedRemoteViewProps extends HostComponentProps {
    commandEnabled?: boolean;
    schematicPath?: string;
    remoteViewName?: string;
}
PropTypeRequirementDescription
commandEnabledbooleanOptional
schematicPathstringOptional
remoteViewNamestringOptional
classNamestringOptionalAdditional Tailwind or host CSS classes.
childrenHostNodeOptionalChild content rendered by the host component.
idstringOptionalOptional DOM identifier.
styleRecord<string, unknown>OptionalInline style values passed to the host component.