mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
handling collapse state in a more simple and consistence way
This commit is contained in:
@@ -29,6 +29,8 @@ type Props = {
|
||||
action: () => void;
|
||||
};
|
||||
|
||||
// TODO is it used in the menu? should it use MenuContext for collapse state?
|
||||
|
||||
class NavAction extends React.Component<Props> {
|
||||
render() {
|
||||
const { label, icon, action } = this.props;
|
||||
|
||||
Reference in New Issue
Block a user