UNPKG

@makolabs/ripple

Version:

Simple Svelte 5 powered component library ✨

7 lines (6 loc) 217 B
/** * Check if a URL matches the current route * @param href - The URL to check * @param exact - Whether to require an exact match */ export declare function isRouteActive(href: string, exact?: boolean): boolean;