diff --git a/lib/countryPicker.js b/lib/countryPicker.js index 1e31cf4b..cc3df252 100644 --- a/lib/countryPicker.js +++ b/lib/countryPicker.js @@ -8,6 +8,7 @@ import styles from './styles'; const PickerItem = Picker.Item; const propTypes = { + supportedOrientations: PropTypes.array, buttonColor: PropTypes.string, labels: PropTypes.array, confirmText: PropTypes.string, @@ -80,6 +81,7 @@ export default class CountryPicker extends Component { const itemStyle = this.props.itemStyle || {}; return ( { this.picker = ref; }} + supportedOrientations={this.props.supportedOrientations} selectedCountry={iso2} onSubmit={this.selectCountry} buttonColor={this.props.pickerButtonColor}