code: function extractSceneRendererProps(
    props: NavigationSceneRendererProps
  ): NavigationSceneRendererProps {
    return {
      layout: props.layout,
      navigationState: props.navigationState,
      position: props.position,
      progress: props.progress,
      scene: props.scene,
      scenes: props.scenes,
    };
  }
docs: Helper function that extracts the props needed for scene renderer.