Error message: "Please use default export since named exports are deprecated"
ziyaddin opened this issue · 1 comments
ziyaddin commented
What is the purpose of this error message?
ziyaddin commented
The error message is misleading, "import" is better wording than "export" in this sentence.
The solution is importing like this:
import CIcon from "@coreui/icons-react";instead of this:
import { CIcon } from "@coreui/icons-react";