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

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.

主站蜘蛛池模板: 房产| 双柏县| 永和县| 揭阳市| 乌鲁木齐县| 多伦县| 彝良县| 金堂县| 兴文县| 醴陵市| 德昌县| 怀化市| 博兴县| 大足县| 东阿县| 荃湾区| 赤壁市| 丹东市| 华容县| 台南县| 栖霞市| 永清县| 濮阳县| 鸡东县| 合江县| 紫阳县| 巩留县| 石楼县| 乌兰察布市| 沂水县| 民乐县| 宣汉县| 房山区| 阿克苏市| 武平县| 汪清县| 额敏县| 绥江县| 隆昌县| 汝阳县| 怀宁县|