Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/react-router/dist/lib/hooks.d.ts

    rd565449 r0c6b92a  
    77 * custom links that are also accessible and preserve right-click behavior.
    88 *
    9  * @see https://reactrouter.com/hooks/use-href
     9 * @see https://reactrouter.com/v6/hooks/use-href
    1010 */
    1111export declare function useHref(to: To, { relative }?: {
     
    1515 * Returns true if this component is a descendant of a `<Router>`.
    1616 *
    17  * @see https://reactrouter.com/hooks/use-in-router-context
     17 * @see https://reactrouter.com/v6/hooks/use-in-router-context
    1818 */
    1919export declare function useInRouterContext(): boolean;
     
    2626 * be able to provide something higher-level to better suit your needs.
    2727 *
    28  * @see https://reactrouter.com/hooks/use-location
     28 * @see https://reactrouter.com/v6/hooks/use-location
    2929 */
    3030export declare function useLocation(): Location;
     
    3333 * the current location, either by a pop, push, or replace on the history stack.
    3434 *
    35  * @see https://reactrouter.com/hooks/use-navigation-type
     35 * @see https://reactrouter.com/v6/hooks/use-navigation-type
    3636 */
    3737export declare function useNavigationType(): NavigationType;
     
    4141 * `<NavLink>`.
    4242 *
    43  * @see https://reactrouter.com/hooks/use-match
     43 * @see https://reactrouter.com/v6/hooks/use-match
    4444 */
    4545export declare function useMatch<ParamKey extends ParamParseKey<Path>, Path extends string>(pattern: PathPattern<Path> | Path): PathMatch<ParamKey> | null;
     
    5555 * may also be used by other elements to change the location.
    5656 *
    57  * @see https://reactrouter.com/hooks/use-navigate
     57 * @see https://reactrouter.com/v6/hooks/use-navigate
    5858 */
    5959export declare function useNavigate(): NavigateFunction;
     
    6161 * Returns the context (if provided) for the child route at this level of the route
    6262 * hierarchy.
    63  * @see https://reactrouter.com/hooks/use-outlet-context
     63 * @see https://reactrouter.com/v6/hooks/use-outlet-context
    6464 */
    6565export declare function useOutletContext<Context = unknown>(): Context;
     
    6868 * hierarchy. Used internally by `<Outlet>` to render child routes.
    6969 *
    70  * @see https://reactrouter.com/hooks/use-outlet
     70 * @see https://reactrouter.com/v6/hooks/use-outlet
    7171 */
    7272export declare function useOutlet(context?: unknown): React.ReactElement | null;
     
    7575 * URL that were matched by the route path.
    7676 *
    77  * @see https://reactrouter.com/hooks/use-params
     77 * @see https://reactrouter.com/v6/hooks/use-params
    7878 */
    7979export declare function useParams<ParamsOrKey extends string | Record<string, string | undefined> = string>(): Readonly<[
     
    8383 * Resolves the pathname of the given `to` value against the current location.
    8484 *
    85  * @see https://reactrouter.com/hooks/use-resolved-path
     85 * @see https://reactrouter.com/v6/hooks/use-resolved-path
    8686 */
    8787export declare function useResolvedPath(to: To, { relative }?: {
     
    9494 * element.
    9595 *
    96  * @see https://reactrouter.com/hooks/use-routes
     96 * @see https://reactrouter.com/v6/hooks/use-routes
    9797 */
    9898export declare function useRoutes(routes: RouteObject[], locationArg?: Partial<Location> | string): React.ReactElement | null;
Note: See TracChangeset for help on using the changeset viewer.