This results in the following error during building:
react-jsx-dev-runtime.development.js:87 Warning: React.jsx: type is invalid
-- expected a string (for built-in components) or a class/function (for composite components)
but got: undefined. You likely forgot to export your component from the file it's defined in,
or you might have mixed up default and named imports.
If I remove ButtonGroup everything is copacetic, so the button (and other) components work fine; it's just the ButtonGroup.
Howdy folks,
I have the following piece of code, very similar to the reference:
This results in the following error during building:
If I remove
ButtonGroup
everything is copacetic, so thebutton
(and other) components work fine; it's just theButtonGroup
.I would appreciate a tip on how to resolve this.