I am trying to add an icon to an input field using React Bootstrap and react-fa (font-awesome). Is there a prop I can set on the Form Control component? The code below I've inserted an icon but it's obviously above the input not inside.
<form>
<FormGroup
controlId="formBasicText"
validationState={this.getValidationState()}
className="login-form">
<ControlLabel>Email address</ControlLabel>
<Icon spin name="spinner" />
<FormControl
type="text"
value={this.state.value}
placeholder="Your email"
onChange={this.handleChange}
className="login-input" />
<ControlLabel>Password</ControlLabel>
<FormControl
type="text"
value={this.state.value}
placeholder="Your password"
onChange={this.handleChange}
className="login-input" />
<FormControl.Feedback />
</FormGroup>
<Button bsStyle="success btn-raised btn-block" bsSize="large" onClick={this.closeModal}>Let's Go</Button>
</form>
