1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +01:00
onion/js/components
Brett Sun 764f81925b Change children prop from react-router to only be a Element type
Judging by
https://github.com/rackt/react-router/blob/master/docs/API.md#children-1
and a few inspections in the code, as well as tests, the `children`
prop injected into routes can only ever be a single React Element
object.

This allows us to easily get the active route of a child (if there is
an active route) by querying the `children`’s route prop.
2016-02-04 13:31:18 +01:00
..
2016-02-01 10:18:30 +01:00
2015-12-08 16:11:27 +01:00
2015-09-08 10:15:26 +02:00
2016-02-04 13:30:16 +01:00
2015-09-15 13:22:52 +02:00
2015-12-08 16:11:27 +01:00
2016-01-19 15:15:33 +01:00
2015-12-23 09:36:21 +01:00
2015-12-08 16:11:27 +01:00
2016-02-04 13:30:16 +01:00
2016-02-04 13:30:16 +01:00
2016-02-04 13:30:16 +01:00
2015-12-08 16:11:27 +01:00
2016-01-19 16:28:52 +01:00