ndresx / react-countdown

A customizable countdown component for React.
MIT License
746 stars 69 forks source link

Error: 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. #256

Closed zaadevofc closed 2 weeks ago

zaadevofc commented 3 months ago

image

image

I don't know why, even though I just installed it and followed the documentation correctly.

This error occurred when I entered countdown into the component.

but when I delete the countdown component the error will disappear.

ndresx commented 1 month ago

Hi, it looks like the import of the countdown component is wrong. If this is still relevant, please provide more details.

ndresx commented 2 weeks ago

I'll close this issue. If you have any additional or other questions, please feel free to re-open or create a new one!