I get an error at this point:
static buttonShape = PropTypes.shape(Navbar.buttonPropTypes);static arrayOfButtons = PropTypes.arrayOf(Navbar.buttonShape);
Navbar is undefined inside this static fields, it works fine when I use "this" instead of classname.
So I can't even start my app for this reason.
I get an error at this point:
static buttonShape = PropTypes.shape(Navbar.buttonPropTypes);
static arrayOfButtons = PropTypes.arrayOf(Navbar.buttonShape);
Navbar is undefined inside this static fields, it works fine when I use "this" instead of classname. So I can't even start my app for this reason.