docs: function RouteStatus(props) {
    return (
      <Route
        render={({ staticContext }) => {
          // we have to check if staticContext exists
          // because it will be undefined if rendered through a BrowserRouter
          if (staticContext) {
            staticContext.statusCode = props.statusCode;
          }
  
          return <div>{props.children}</div>;
        }}
      />
    );
  }