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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i react-router-flow-types

      Weekly Downloads

      3

      Version

      1.0.0

      License

      ISC

      Last publish

      Collaborators

      • crisys11