title: React-pdf renderer not working on React 18
body: <p>I am trying to install react-pdf/renderer on React version 18 using next command</p>
  <pre><code>npm install @react-pdf/renderer --save
  </code></pre>
  <p>but it is not working on version 18.</p>
  <p>Do you have any solution?
  <a href="https://i.stack.imgur.com/7wprv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7wprv.jpg" alt="enter image description here" /></a></p>