• Given an array of blocks, returns a function that can be used to generate URLs for routes. This function will take the name of the block page and return the path for that page.

    This allows different blocks to refer to each other without knowing the specific URL structure

    Parameters

    Returns ((routeName, matchParams?) => string)

    (string) => string

      • (routeName, matchParams?): string
      • Parameters

        • routeName: string
        • Optional matchParams: Record<string, undefined | string>

        Returns string

Generated using TypeDoc