manually implement drawertype logic (#6419)
This commit is contained in:
@@ -105,6 +105,7 @@ function ShellInner() {
|
|||||||
onOpen={onOpenDrawer}
|
onOpen={onOpenDrawer}
|
||||||
onClose={onCloseDrawer}
|
onClose={onCloseDrawer}
|
||||||
swipeEdgeWidth={winDim.width / 2}
|
swipeEdgeWidth={winDim.width / 2}
|
||||||
|
drawerType={isIOS ? 'slide' : 'front'}
|
||||||
swipeEnabled={!canGoBack && hasSession && !isDrawerSwipeDisabled}
|
swipeEnabled={!canGoBack && hasSession && !isDrawerSwipeDisabled}
|
||||||
overlayStyle={{
|
overlayStyle={{
|
||||||
backgroundColor: select(t.name, {
|
backgroundColor: select(t.name, {
|
||||||
|
|||||||
Reference in New Issue
Block a user