Using p5.play with React?

I am trying to use p5.play with React (p5.play - a game library for p5.js). I tried following the example listed on the Github, but the example only uses an index.html and sketch.js file. When I tried using in a React component, I could not get anything to render.

I have installed react-p5 successfully. And I also got p5.sound working. But I am just wondering if anyone can point me in the right direction for using p5.play with React.