| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1× 15× | import React, { Component } from 'react'
import Link from './Link'
/**
* An <IndexLink> is used to link to an <IndexRoute>.
*/
class IndexLink extends Component {
render() {
return <Link {...this.props} onlyActiveOnIndex={true} />
}
}
export default IndexLink
|