MCPcopy Create free account
hub / github.com/ecomfe/tempad-dev / DevComponent

Interface DevComponent

packages/plugins/src/index.ts:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117type ContainerNode = GroupNode | FrameNode | DesignComponent
118
119export interface DevComponent<T extends object = Record<string, unknown>> {
120 /** Component tag or name to render. */
121 name: string
122
123 /** Props that should be passed to the component. */
124 props: T
125
126 /** Ordered child components or string literals. */
127 children: (DevComponent | string)[]
128}
129
130/**
131 * Syntax highlighting languages that code blocks can declare.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected