Merge pull request #2976 from saghul/bottom-sheet-orientation

[RN] Support landscape and portrait orientations in BottomSheet
This commit is contained in:
Zoltan Bettenbuk
2018-05-16 10:28:41 +02:00
committed by GitHub
@@ -53,6 +53,10 @@ export default class BottomSheet extends Component<Props> {
animationType = { 'slide' }
key = 'modal'
onRequestClose = { this._onCancel }
supportedOrientations = { [
'landscape',
'portrait'
] }
transparent = { true }
visible = { true }>
<View style = { styles.container }>