1.0.0 • Published 8 years ago
react-router-flow-types v1.0.0
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
1.0.0
8 years ago