1.5.8 • Published 1 year ago

@types/fluxible-router v1.5.8

Weekly downloads
14
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.5.7

2 years ago

1.5.6

2 years ago

1.5.5

2 years ago

1.5.4

4 years ago

1.5.3

4 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago