1.5.8 • Published 3 months ago
@types/fluxible-router v1.5.8
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
- Last updated: Tue, 14 Sep 2021 13:01:31 GMT
- Dependencies: @types/react, @types/fluxible, @types/node
- Global values: none
Credits
These definitions were written by xbim.