This interface is used for link generator; it holds template string and query parameters.

interface IHrefProps {
    href: string;
    query?: Record<string, string | number>;
}

Properties

Properties

href: string

Template string for the link.

query?: Record<string, string | number>

Query parameters for the link.

Parameters which are not present in the template are appended as a "classic" query string.