Hi,
I'm getting this error when trying to pass in an array of objects in to Pivot, according to the docs this should be possible; and when I pass in an array of arrays Pivot works just fine.
Sample data causing issues:
const data = [
{ name: 'Some Name', age: 'Some Age' },
{ name: 'Some Name', age: 'Some Age' },
{ name: 'Some Name', age: 'Some Age' },
{ name: 'Some Name', age: 'Some Age' },
{ name: 'Some Name', age: 'Some Age' }
];
<Pivot data={data} />
Any help would be greatly appreciated, thanks!