title: Pass down label element as a prop in react
body: <p>I have this code:</p>
  <pre><code>&lt;div className=&quot;input-field&quot;&gt;
      &lt;label htmlFor=&quot;timeObjective&quot;&gt;Time Objective&lt;/label&gt;
      &lt;FrequencySet label='label'/&gt; //HERE
  &lt;/div&gt;
  </code></pre>
  <p>I would like to pass down the <code>label</code> itself so that in the <code>FrequencySet</code> component where I am receiving it as an argument (<code>label: HTMLLabelElement</code> in typescript) I can clear the text of that label with <code>label.innerHTML = '';</code> in a specific moment.</p>
  <p>Can that be done?</p>