UNPKG

@discoveryjs/discovery

Version:

Frontend framework for rapid data (JSON) analysis, shareable serverless reports and dashboards

23 lines (22 loc) 470 B
export default (view, group) => ({ demo: { view, data: '"Alert"' }, examples: [ { title: 'Variations', demo: group.map(name => `${name}:"${name}"`) }, { title: 'Complex content', demo: { view, content: [ 'h3:"Some header"', 'text:"Hello world!"' ] } } ] });