handling collapse state in a more simple and consistence way

This commit is contained in:
Sebastian Sdorra
2020-03-31 08:26:01 +02:00
parent ca39a5b453
commit 2821005d8c
11 changed files with 178 additions and 153 deletions

View File

@@ -27,6 +27,8 @@ type Props = {
children?: ReactNode;
};
// TODO it is used?
class Navigation extends React.Component<Props> {
render() {
return <aside className="menu">{this.props.children}</aside>;