Skip to content

Attempted import error: 'react-loading-skeleton' does not contain a default export (imported as 'Skeleton') #145

Description

@agkruchkov

Describe the bug
When compiling i get error:
Attempted import error: 'react-loading-skeleton' does not contain a default export (imported as 'Skeleton')

To Reproduce

  1. installed
    npm i react-loading-skeleton

  2. I wrote in component:

import Skeleton from 'react-loading-skeleton';
import 'react-loading-skeleton/dist/skeleton.css';

Versions

  • react-loading-skeleton version: 3.1.0
  • Browser version: Microsoft Edge, ver 104.0.1293.63

What could be the problem? Help me please.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions