refactor: don't use keyboardAwareNavigator The HOC currently forces us to expose some options in stack config which we don't want to. So we vendor this functionality for now to avoid this.

This commit is contained in:
satyajit.happy
2019-07-14 21:55:19 +02:00
parent cfa7e2f1a1
commit 4db67a17a6
10 changed files with 170 additions and 72 deletions

View File

@@ -23,6 +23,7 @@ import LifecycleInteraction from './src/LifecycleInteraction';
import GestureInteraction from './src/GestureInteraction';
import SwitchWithStacks from './src/SwitchWithStacks';
import StackWithDrawer from './src/StackWithDrawer';
import StackWithInput from './src/StackWithInput';
import HeaderPreset from './src/HeaderPreset';
import {
HeaderBackgroundDefault,
@@ -75,6 +76,11 @@ const data = [
title: 'Stack with drawer inside',
routeName: 'StackWithDrawer',
},
{
component: StackWithInput,
title: 'Stack with text input',
routeName: 'StackWithInput',
},
{
component: HeaderBackgroundDefault,
title: 'Header background (UIKit transition)',