@joint/react
    Preparing search index...

    Variable ItemConst Experimental

    Item: MemoExoticComponent<(props: PortProps) => null | ReactPortal> = Component.PortItem

    Create portal based on react component, This feature is experimental and may change in the future.

    With any html element:

    import { Port } from '@joint/react';
    <Port.Item id="port-one" x={0} y={0}>
    <foreignObject />
    </Port.Item>

    With SVG element:

    import { Port } from '@joint/react';
    <Port.Item id="port-one" x={0} y={0}>
    <circle cx={0} cy={0} r={5} fill="red" />
    </Port.Item>