Initializing bpmn-js in React

I am trying to implement the bpmn-js library into a React application. I have set up the modeler with the properties panel and toolkit. However I cannot create any model on the container. It does not give me any error but I cannot set up any event or any module on the display canvas

Have a look at this example: GitHub - bpmn-io/react-bpmn: Display BPMN 2.0 diagrams in React.