Renamed prop component to componentClass, added better func for handling bsStyle on input