Closed pke closed 4 years ago
Absolutely! Let me know if it looks good on version 4.0.4
Somehow even though the typedefs are correct now, VSCode still complains.
But as you can see I have defined a type named Item
like this:
type Item = {
id: string
title: string
text: string
image: ImageSourcePropType
}
Could that be a caching problem?
This is great library! It has every customisation feature I'd hoped for! Kudos! 🚀
One little question though re the
renderItem
render function: Its currently defined as:renderItem: (a: any) => React.ReactNode;
wouldn't it be possible to define it asrenderItem: (a: ItemT) => React.ReactNode;
?