官术网_书友最值得收藏!

Route props

When you look at the source code of React-Router, the <Route> component accepts the following props:

Route.propTypes = {
computedMatch: PropTypes.object, // private, from <Switch>
path: PropTypes.string,
exact: PropTypes.bool,
strict: PropTypes.bool,
sensitive: PropTypes.bool,
component: PropTypes.func,
render: PropTypes.func,
children: PropTypes.oneOfType([PropTypes.func, PropTypes.node]),
location: PropTypes.object
};

Let's take a look at each of these props in the following section.

主站蜘蛛池模板: 天津市| 潮安县| 新郑市| 融水| 石楼县| 积石山| 公主岭市| 扬中市| 杂多县| 资兴市| 从化市| 汉川市| 榆社县| 二手房| 白银市| 天津市| 炎陵县| 溧阳市| 石渠县| 嵊泗县| 吉木乃县| 博兴县| 贵德县| 清河县| 会同县| 屯昌县| 镇安县| 库尔勒市| 东城区| 南安市| 丰镇市| 通山县| 那坡县| 和硕县| 普定县| 民乐县| 陆丰市| 澄江县| 奇台县| 叙永县| 三亚市|