NavLink.js 200 B

123456789
  1. // modules/NavLink.js
  2. import React from 'react'
  3. import { Link } from 'react-router'
  4. export default React.createClass({
  5. render() {
  6. return <Link {...this.props} activeClassName="active"/>
  7. }
  8. })