WiP updates
This commit is contained in:
parent
6706d93bc1
commit
4fce4b6f81
27 changed files with 763 additions and 85 deletions
|
@ -437,16 +437,17 @@ class NavButton extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
class DropdownLink extends Component {
|
||||
class MenuLink extends Component {
|
||||
static propTypes = {
|
||||
to: PropTypes.string
|
||||
to: PropTypes.string,
|
||||
className: PropTypes.string
|
||||
}
|
||||
|
||||
render() {
|
||||
const props = this.props;
|
||||
|
||||
return (
|
||||
<li><Link to={props.to}>{props.children}</Link></li>
|
||||
<li className={props.className}><Link to={props.to}>{props.children}</Link></li>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -473,7 +474,7 @@ export {
|
|||
Title,
|
||||
Toolbar,
|
||||
NavButton,
|
||||
DropdownLink,
|
||||
MenuLink,
|
||||
withPageHelpers,
|
||||
requiresAuthenticatedUser
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue