UNPKG

@vaadin/hilla-file-router

Version:

Hilla file-based router

6 lines (5 loc) 195 B
import type { ViewConfig } from "../types.js"; /** * Hook to return the {@link ViewConfig} for the current route. */ export declare function useViewConfig<M extends ViewConfig>(): M | undefined;