Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 10 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import React from 'react'; |
||
2 | import {NavLink} from "react-router-dom"; |
||
3 | |||
4 | class Link extends React.Component { |
||
5 | render() { |
||
6 | return <NavLink exact to={this.props.url} className={this.props.className} > {this.props.text} </NavLink> |
||
7 | } |
||
8 | } |
||
9 | |||
10 | export default Link; |