export class NavMenu extends Component {
static displayName = NavMenu.name;
constructor (props) {
super(props);
this.toggleNavbar = this.toggleNavbar.bind(this);
this.state = {
collapsed: true
};
}
I tried searching for the word static in react but couldn't find my answer. What does the keyword static do in static displayName = NavMenu.name