title: How do I convert a react render method content into pug, instead of standard component way
body: <p>While I know how to write a render method's return in pug, I am stuck in a place where I have to pass a component as an attribute's value of some another component.</p>
  <p>Inside my react render method, I am returning the following code :</p>
  <pre><code>&lt;PDFDownloadLink  document={&lt;PdfDocument data={meetingDetails} /&gt;}
            fileName=&quot;meetingName.pdf&quot;
            style={{
              textDecoration: &quot;none&quot;,
              padding: &quot;10px&quot;,
              color: &quot;#4a4a4a&quot;,
              backgroundColor: &quot;#f2f2f2&quot;,
              border: &quot;1px solid #4a4a4a&quot;
            }}&gt;
          
        {({ blob, url, loading, error }) =&gt;
          loading ? 'Loading document...' : 'Download'
        }
  
        &lt;/PDFDownloadLink&gt;
  </code></pre>
  <p>where I am importing PdfDocument as well as PDFDownloadLink components.</p>
  <p>Now I have to write the same thing in pug, which I did as below...</p>
  <p>1.</p>
  <pre><code>PDFDownloadLink(document={&lt;PdfDocument data={meetingDetails} /&gt;}
            fileName=&quot;meetingName.pdf&quot;
            style={{
              textDecoration: &quot;none&quot;,
              padding: &quot;10px&quot;,
              color: &quot;#4a4a4a&quot;,
              backgroundColor: &quot;#f2f2f2&quot;,
              border: &quot;1px solid #4a4a4a&quot;
            }} )
  </code></pre>
  <ol start="2">
  <li></li>
  </ol>
  <pre><code>PDFDownloadLink(document={PdfDocument(data={meetingDetails} ) }
            fileName=&quot;meetingName.pdf&quot;
            style={{
              textDecoration: &quot;none&quot;,
              padding: &quot;10px&quot;,
              color: &quot;#4a4a4a&quot;,
              backgroundColor: &quot;#f2f2f2&quot;,
              border: &quot;1px solid #4a4a4a&quot;
            }})
  </code></pre>
  <p>Both do not seem to work. Any sort of help / guidance would be helpful.</p>