Skip to content

Commit

Permalink
refactor (label): add BEM class to geosuggest label
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyKhval committed Oct 18, 2016
1 parent a7a3b0f commit fb79f34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Geosuggest.jsx
Expand Up @@ -410,7 +410,8 @@ class Geosuggest extends React.Component {
return <div className={classes}>
<div className="geosuggest__input-wrapper">
{shouldRenderLabel &&
<label htmlFor={attributes.id}>{this.props.label}</label>
<label className="geosuggest__label"
htmlFor={attributes.id}>{this.props.label}</label>
}
{input}
</div>
Expand Down

0 comments on commit fb79f34

Please sign in to comment.