title: Error occurs when react Modal is surrounded by Portal
body: <p>I am using react.
  I have created a Portal component.
  When I enclose a modal in Portal, I get the following error in VsCode.
  If anyone knows how to fix this, please let me know.</p>
  <p>Error Description</p>
  <pre><code>Type '{ children: Element[]; }' is not assignable to type 'IntrinsicAttributes &amp; ReactNode'.
    Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes'.ts(2322)
  </code></pre>
  <pre><code>// portal.tsx
  import ReactDOM from 'react-dom';
  import React from 'react';
  
  export const Portal = (children: React.ReactNode) =&gt; {
    const el = document.getElementById('portal');
    return ReactDOM.createPortal(children, el);
  };
  </code></pre>
  <pre><code>  &lt;Portal&gt;
        &lt;Overlay/&gt;
        &lt;Modal
          padding={padding}
          width={width}
          height={height}
          radius={radius}
          overflowY={overflowY}
        &gt;
          {children}
        &lt;/Modal&gt;
      &lt;/Portal&gt;
  </code></pre>
  <pre><code></code></pre>