react-router-flow-types

1.0.0 • Public • Published

Usage

import type from library

import type { PlainRoute } from react-router-flow-types;
 
function App({ routes: PlainRoute }) {
  return (
    <Router history={browserHistory} routes={routes} />
  );
}

Included types

All types was based in the official API For details see https://github.com/reactjs/react-router/blob/master/docs/API.md

  • RouteProps
  • PlainRoute
  • RouterProps
  • LinkProps
  • IndexLinkProps

Package Sidebar

Install

npm i react-router-flow-types

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • crisys11