1.5.8 • Published 3 months ago

@types/fluxible-router v1.5.8

Weekly downloads
14
License
MIT
Repository
github
Last release
3 months ago

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.

index.d.ts

// Type definitions for fluxible-router 1.5
// Project: https://github.com/yahoo/fluxible#readme
// Definitions by: xbim <https://github.com/xbim>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
/// <reference types="node" />
import * as React from 'react';
import { FluxibleContext } from 'fluxible';
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.

1.5.8

3 months ago

1.5.7

7 months ago

1.5.6

7 months ago

1.5.5

8 months ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago