Skip to main content

ReactPortMapping

Definition of a port - its jsx, and behaviour. This is for advanced use cases.

Extends

  • Omit<PortMapping<any>, "templateIdResolver" | "template" | "templateId" | "parameters">

Properties

jsx()?

optional jsx: (ctx) => any

JSX used to render this port type. Optional; if you do not supply it a default template will be used.

Parameters

ctx

JsxWrapperProps<Port>

Returns

any