UNPKG

@discoveryjs/discovery

Version:

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

13 lines (11 loc) 322 B
import usage from './text.usage.js'; export default function({ textView }) { textView.define('text', { props: "{ text: #.props has no 'text'? } | overrideProps()", usage, render(node, props) { const { text } = props; node.appendText(String(text)); } }); };