const data = [
{
id: 100,
title: "Centaur",
image: "https://d30y9cdsu7xlg0.cloudfront.net/png/120146-200.png"
},
{
id: 101,
title: "Chimera",
image: "https://d30y9cdsu7xlg0.cloudfront.net/png/120147-200.png"
},
{
id: 102,
title: "Griffin",
image: "https://d30y9cdsu7xlg0.cloudfront.net/png/120148-200.png"
},
{
id: 103,
title: "Winged Unicorn",
image: "https://d30y9cdsu7xlg0.cloudfront.net/png/120156-200.png"
},
{
id: 104,
title: "Winged Lion",
image: "https://d30y9cdsu7xlg0.cloudfront.net/png/120152-200.png"
}
];
return (<div>
<ReactUIDropdown
label="Myth animals"
initialItems={data} />
</div>);
[Error] TypeError: undefined is not an object (evaluating 'a.PropTypes.string')
(anonymous function) (2.5526a405.chunk.js:1:410053)
f (localhost:1:1769)
(anonymous function) (2.5526a405.chunk.js:1:401656)
f (localhost:1:1769)
(anonymous function) (2.5526a405.chunk.js:1:75024)
f (localhost:1:1769)
(anonymous function) (main.0eac5e25.chunk.js:1:269)
f (localhost:1:1769)
(anonymous function) (main.0eac5e25.chunk.js:1:4565)
f (localhost:1:1769)
a (localhost:1:1635)
e (localhost:1:1498)
Global Code (main.0eac5e25.chunk.js:1)