Skip to content

Instantly share code, notes, and snippets.

@tremes
Created December 10, 2019 15:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tremes/c2e9efd444cc43008b5a3355dcf2fb02 to your computer and use it in GitHub Desktop.
Save tremes/c2e9efd444cc43008b5a3355dcf2fb02 to your computer and use it in GitHub Desktop.
const rows3 = tableData.map((cluster, idx) => {
return {
cells: [
{
title: cluster._id,
props: { key: idx }
},
{
title: cluster.account,
props: { key: idx }
},
{
title: cluster.email_domain,
props: { key: idx }
}
]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment