WiP updates

This commit is contained in:
Tomas Bures 2018-04-22 09:00:04 +02:00
parent 6706d93bc1
commit 4fce4b6f81
27 changed files with 763 additions and 85 deletions

View file

@ -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
};