@types/fluxible-router
TypeScript icon, indicating that this package has built-in type declarations

1.5.8 • Public • Published

Installation

npm install --save @types/fluxible-router

Summary

This package contains type definitions for fluxible-router (https://github.com/yahoo/fluxible#readme).

Details

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;
}

Additional Details

Credits

These definitions were written by xbim.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/fluxible-router

Weekly Downloads

21

Version

1.5.8

License

MIT

Unpacked Size

4.84 kB

Total Files

5

Last publish

Collaborators

  • types