我想在堆栈导航中的特定屏幕中显示侧边菜单 . 我怎样才能导航到具有侧面菜单的堆栈导航中的屏幕反应原生导航v2 . 由于Navigation.push只接受组件对象 .

Navigation.setRoot({
  root: {
    stack: {
      id: 'App',
      children: [
        {
          component: {
            name: 'FormList',
            options: {
              topBar: {
                title: {
                  text: 'Forms'
                }
              }
            }
          }
        }
      ],
    }
  }
});

我想推送到CreateForm的屏幕,这将有一个侧面菜单

const sidemenu = {
  sideMenu: {
      center: {
      component: {
        name: 'CreateForm',
          options: {
          topBar: {
            title: {
              text: 'Create Form'
            },
          },
        }
      },
    },
    right: {
      component: {
        name: 'CreateField',
          passProps: {
          text: ''
        },
      },
    },
  }
};