Use third-party embed code in a React component
<p>I need to use a third part embed code for a form. I'm trying to return it in a component, but it's obviously not working. How can I set this one up?</p>

<pre><code>class Form extends Component {

  render() {

    return (
      &lt;div&gt;
        &lt;div id="apply_form"&gt;
          &lt;a name="form" id="formAnchor"&gt;&lt;/a&gt;
          &lt;script type="text/javascript" src="https://fs22.formsite.com/include/form/embedManager.js?1605047845"&gt;&lt;/script&gt;
          &lt;script type="text/javascript"&gt;
          EmbedManager.embed({
            key: "key",
            width: "100%",
            mobileResponsive: true
          });
          &lt;/script&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    );
  }
}

export default Form;
</code></pre>