You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I was trying to use flatlistProps to tweak some properties, but the typescript definition for the type is:
flatlistProps?: FlatListProps<Page> | undefined;
And FlatListProps type requires data and renderItem props.
I believe the type should be wrapped so that these fields are not required.
Technically I could provide data as I see that this is just pages, but renderItem is some private function and trying to supply it kind of defeats part of this library's purpose.
The text was updated successfully, but these errors were encountered:
Hi.
I was trying to use
flatlistProps
to tweak some properties, but the typescript definition for the type is:And
FlatListProps
type requiresdata
andrenderItem
props.I believe the type should be wrapped so that these fields are not required.
Technically I could provide
data
as I see that this is justpages
, butrenderItem
is some private function and trying to supply it kind of defeats part of this library's purpose.The text was updated successfully, but these errors were encountered: