The Component passed by the decorator function cannot be found in the React component decorator render function in tsx

I want to use a decorator in the react component to implement the function of binding pubsub to the component

The

decorator is implemented as follows:

   


"compilerOptions": {
    "jsx": "react"
}
Menu