UNPKG

@discoveryjs/discovery

Version:

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

10 lines (7 loc) 275 B
import usage from './context.usage.js'; export default function({ textView }) { textView.define('context', function(node, props, data, context) { const { content = [] } = props; return textView.render(node, content, data, context); }, { usage }); }