npm install --save @types/fluxible-router
This package contains type definitions for fluxible-router (https://github.com/yahoo/fluxible#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/fluxible-router.
import { FluxibleContext } from "fluxible";
import * as React from "react";
import BaseStore = require("fluxible/addons/BaseStore");
export class NavLink extends React.Component<NavLinkProps, any> {}
export class RouteStore extends BaseStore {
dehydrate(context?: FluxibleContext): any;
rehydrate(state: any): void;
static withStaticRoutes(routes: object): typeof RouteStore;
}
export function handleHistory(Component: typeof React.Component, opts?: object): typeof React.Component;
export function navigateAction(context: FluxibleContext, params: object): undefined;
export class NavLinkProps {
href?: string | undefined;
routeName?: string | undefined;
activeStyle?: object | undefined;
preserveScrollPosition?: boolean | undefined;
className?: string | undefined;
type?: string | undefined;
activeClass?: string;
activeElement?: string;
followLink?: boolean;
stopPropagation?: boolean;
replaceState?: boolean;
validate?: boolean;
navParams?: object;
queryParams?: object;
}
- Last updated: Thu, 29 Feb 2024 22:35:16 GMT
- Dependencies: @types/fluxible, @types/react
These definitions were written by xbim.