title: Creating component for forms in react
body: <p>I am trying to create a form in react, if I do this:</p>
  
  <pre><code>        &lt;NameLabel&gt;Name&lt;/NameLabel&gt;
          &lt;Name
            name="name"
            type="text"
            value={this.state.name}
            onChange={this.handleInputChange}
            required
          /&gt;
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>const Name = styled.input`
    // some code
  `
  
  const NameLabel = styled.label`
    // some code
  `
  </code></pre>
  
  <p>which works fine. I am not sure if this is good because if I add another input field, then I have to style it again with the same style used for the name input. Is there another option to do this?</p>