Open imakshay13 opened 2 years ago
how to resolve React Loader Spinner Issue: export 'default' (imported as 'Loader') was not found in 'react-loader-spinner
import { Circles } from "react-loader-spinner";
import Circles above instead of Spinner. and use Circles instead of Spinner
You can use it like this also, import the whole loader library
import * as Loader from 'react-loader-spinner'
and then use it like this
You can use it like this also, import the whole loader library
import * as Loader from 'react-loader-spinner'
and then use it like this
THANK YOU
we need to import specific Loader instead of Loader from react-loader-spinner.
import { Circles } from "react-loader-spinner";