<Drawer
type = "static"
content = {<DrawerContent />}
styles = {drawerStyles}
tapToClose = {true}
openDrawerOffset = {0.15} // 15% gap on the right side of drawer
panCloseMask = {0.2}
closedDrawerOffset = {0}
tweenDuration = {500}
tweenEasing = "easeInOutQuad"
initializeOpen = {false}
ref = {(ref) => this._drawer = ref}
tweenHandler = {Drawer.tweenPresets.parallax}
onOpen = {() => this._onOpenDrawer()}
onClose = {() => {}}>
<MainContent />
</Drawer>
But it's not working on android and ios both platform. Can anyone suggest any solution for shadow implementation?
I want the shadow when I open the drawer then the main content will be shown in shadow. When drawer close the shadow will be gone.
I use the below style for shadow when I open the drawer.
But it's not working on android and ios both platform. Can anyone suggest any solution for shadow implementation? I want the shadow when I open the drawer then the main content will be shown in shadow. When drawer close the shadow will be gone.