react-router#Link TypeScript Examples

The following examples show how to use react-router#Link. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NNItabs.tsx    From AIPerf with MIT License 6 votes vote down vote up
NNILOGO = (
    <Link to={'/oview'}>
        <img
            src={require('../../static/img/logo2.png')}
            alt="NNI logo"
            style={{height: 40}}
        />
    </Link>
)
Example #2
Source File: NNItabs.tsx    From AIPerf with MIT License 5 votes vote down vote up
OVERVIEWTABS = (
    <Link to={'/oview'} activeClassName="high-light" className="common-tabs">
        Overview
    </Link>
)
Example #3
Source File: NNItabs.tsx    From AIPerf with MIT License 5 votes vote down vote up
DETAILTABS = (
    <Link to={'/detail'} activeClassName="high-light" className="common-tabs">
        Trials detail
    </Link>
)