1.0.0 • Published 8 years ago

react-router-flow-types v1.0.0

Weekly downloads
4
License
ISC
Repository
github
Last release
8 years ago

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