Closed wkylin closed 11 months ago
Thanks for reporting this issue! I forgot to update the readme with the correct import, so I just changed it. No need for updating the package, you need to import DrawIoEmbed
instead of DiagramsEmbed
.
Here's a working example:
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.