Couldn't really find a reason this error is thrown other than maybe React.createElement doesn't like class components; however, it runs as a functional component!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm submitting a ...
Currently, the example for StatelessDrawer isn't displaying on the website and throws:
Couldn't really find a reason this error is thrown other than maybe React.createElement doesn't like class components; however, it runs as a functional component!
I edited some lines up to work with hooks:
and deleted the render method wrap since it's no longer a class component.
I tried these changes and it renders properly with these changes!