Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{queries.map(query => ({
area: <Area key={query.id} name={query.name} {...query.definition} />,
bar: <Bar key={query.id} name={query.name} {...query.definition} />,
line: <Line key={query.id} name={query.name} {...query.definition} />
}[query.definition.cartesianType]))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.