I am fairly new to React and React native, but I have bumped into a problem when populating a SectionList
and could not find a solution yet.
I have an array of objects, and each object has it's own array. A SectionList is ideal to display this info, however, the array for each section is not called "data", while SectionList
seems to expect the key "data" for the array in each section.
Is there a way to tell the SectionList
to use another key instead of the data key to populate each section's array?