Now I got below errors.
How can I test the basic usage of this component?
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.
<IdealImage
src="https://images.unsplash.com/photo-1551971466-7eb5646f236f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1868&q=80"
width={800}
height={800}
placeholder={{color: 'grey'}}
srcSet={[{
width:800,
size: 800,
format: 'jpeg',
src: "https://images.unsplash.com/photo-1551971466-7eb5646f236f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1868&q=80"}]}
/>
Now I got below errors.
How can I test the basic usage of this component?
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.