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
commit 5fd0f95a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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 }>