Skip to content

Check the render method of Notifications. #41

@moonjoungyoung

Description

@moonjoungyoung

I am using node-js with react.
When I import react-notification, I have a error message.

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of `Notifications`.
    in Notifications (created by NotificationContainer)
    in NotificationContainer (at Notification.jsx:31)
...

my import code is like this.

import 'react-notifications/lib/notifications.css';
import { NotificationContainer, NotificationManager } from 'react-notifications';

I tried to fix this error by a month, but I failed.. Can somebody help me please?

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