pCon.basket - Plugin Development
    Preparing search index...

    Type Alias CreateReactComponentCallback<T>

    CreateReactComponentCallback: (
        pSetRef: (pComponent: T | null) => void,
        pDispose: () => void,
    ) => React.JSX.Element

    Callback for ComponentFactory.createReactComponent().

    Type Parameters

    Type Declaration

      • (
            pSetRef: (pComponent: T | null) => void,
            pDispose: () => void,
        ): React.JSX.Element
      • Parameters

        • pSetRef: (pComponent: T | null) => void

          Ref callback for the react component.

        • pDispose: () => void

          Has to be called if PluginComponent.dipose() was called.

        Returns React.JSX.Element