adrianhajdin / project_shareme_social_media

Image Sharing Social Media App
https://share-me-sanity.netlify.app/
1.73k stars 425 forks source link

React Loader Spinner Issue: export 'default' (imported as 'Loader') was not found in 'react-loader-spinner' #9

Open imakshay13 opened 2 years ago

imakshay13 commented 2 years ago

we need to import specific Loader instead of Loader from react-loader-spinner.

import { Circles } from "react-loader-spinner";

Hariom-Singh786 commented 2 years ago

how to resolve React Loader Spinner Issue: export 'default' (imported as 'Loader') was not found in 'react-loader-spinner

imakshay13 commented 2 years ago

import { Circles } from "react-loader-spinner";

import Circles above instead of Spinner. and use Circles instead of Spinner

prachip1 commented 1 year ago

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

NabintouSFofana commented 1 year ago

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