@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.
17 lines (13 loc) • 553 B
JavaScript
;
var jsxRuntime = require('preact/jsx-runtime');
var Phrase = require('./Phrase.js');
function Phrases(_a) {
var spec = _a.spec;
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: spec === null || spec === void 0 ? void 0 : spec.map(function (phrase, index) {
var key = "".concat(index, "-").concat(phrase.value);
return jsxRuntime.jsx(Phrase.Phrase, { spec: phrase }, phrase.key || key);
}) }));
}
exports.Phrase = Phrase.Phrase;
exports.Phrases = Phrases;
//# sourceMappingURL=index.js.map