How to correctly set an array of fetched objects to a state in react and render the data in a FlatList

前端 未结 0 1391
梦如初夏
梦如初夏 2021-01-05 05:26

I can\'t seem to find a way to correctly type my Interfaces and Array of Objects to use in a FlatList.

I am using ReactNative with Typescript.

The json file I

相关标签:
回答
  • 消灭零回复
提交回复
热议问题