react-native-skeleton-placeholder TypeError: undefined is not an object (evaluating 'child.type.displayName')
if you are using this package react-native-skeleton-placeholder
then use it as mention on Doc
============================
you can not use it like this
<SkeletonPlaceholder>
<View>
<Text>{name}</Text>
</View>
</SkeletonPlaceholder>
============================
to use this you have to create childs with the style attribute like Blow:
#######################################################
<SkeletonPlaceholder>
<SkeletonPlaceholder.Item width={100} height={16} />
</SkeletonPlaceholder>
=====================OR ================
<SkeletonPlaceholder>
<View style={{ width: 100, height: 16}} />
</SkeletonPlaceholder>
in simple this will not work with heiht i you can say
#######################################################