Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property 'positions' does not exist on type 'typeof DrawerLayoutAndroid' #35852

Closed
2 tasks
chj-damon opened this issue May 31, 2019 · 4 comments · Fixed by #46982
Closed
2 tasks

Property 'positions' does not exist on type 'typeof DrawerLayoutAndroid' #35852

chj-damon opened this issue May 31, 2019 · 4 comments · Fixed by #46982

Comments

@chj-damon
Copy link
Contributor

If you know how to fix the issue, make a pull request instead.

If you do not mention the authors the issue will be ignored.

@iRoachie
Copy link
Contributor

There's no positions prop on Drawer? https://facebook.github.io/react-native/docs/drawerlayoutandroid#props

@chj-damon
Copy link
Contributor Author

as you can see in the demo code:
drawerPosition={DrawerLayoutAndroid.positions.Left}
But actually positions does not exist on Drawer.

@alloy
Copy link
Collaborator

alloy commented Jun 3, 2019

I’m a little unclear on what needs to happen here. @chj-damon, could you make a PR instead with what you need?

@CometstarMH
Copy link
Contributor

Just submitted a PR. DrawerLayoutAndroid drawerPosition has been changed a year ago to accept 'left' or 'right' instead of some enum. See (facebook/react-native@305b0a2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants