Closed mririgoyen closed 5 years ago
The documentation states to use a Stack, to import the components like this:
Stack
import Icon, { Stack } from '@mdi/react';
However, when doing that on the current version, you receive the following error:
[!] Error: 'Stack' is not exported by node_modules/@mdi/react/Icon.js https://rollupjs.org/guide/en#error-name-is-not-exported-by-module- src/components/ToolbarMenu/ToolbarMenu.jsx (7:15) 5: import { Manager, Reference, Popper } from 'react-popper'; 6: import { ClickAwayListener, MenuList, Tooltip } from '@material-ui/core'; 7: import Icon, { Stack } from '@mdi/react'; ^ 8: import { mdiColorHelper, mdiMenuDown } from '@mdi/js'; Error: 'Stack' is not exported by node_modules/@mdi/react/Icon.js
By the way, no idea what this wouldn't have worked prior. Just published an update and re-tested everything.
The documentation states to use a
Stack
, to import the components like this:However, when doing that on the current version, you receive the following error: