React Router API Reference
    Preparing search index...

    Interface HeadersFunction

    A function that returns HTTP headers to be used for a route. These headers will be merged with (and take precedence over) headers from parent routes.