Add left_aligned class to CountryDropdown

This indiciates that the dd chevron should be on the left
This commit is contained in:
Luke Barnard 2017-05-18 14:03:02 +01:00
parent 2ebd9b6290
commit 2350277d29

View file

@ -115,7 +115,7 @@ export default class CountryDropdown extends React.Component {
// values between mounting and the initial value propgating // values between mounting and the initial value propgating
const value = this.props.value || COUNTRIES[0].iso2; const value = this.props.value || COUNTRIES[0].iso2;
return <Dropdown className={this.props.className} return <Dropdown className={this.props.className + " left_aligned"}
onOptionChange={this._onOptionChange} onSearchChange={this._onSearchChange} onOptionChange={this._onOptionChange} onSearchChange={this._onSearchChange}
menuWidth={298} getShortOption={this._getShortOption} menuWidth={298} getShortOption={this._getShortOption}
value={value} searchEnabled={true} value={value} searchEnabled={true}