UNPKG

@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.

14 lines (11 loc) 472 B
import { jsx, Fragment } from 'preact/jsx-runtime'; import { Phrase } from './Phrase.js'; function Phrases(_a) { var spec = _a.spec; return (jsx(Fragment, { children: spec === null || spec === void 0 ? void 0 : spec.map(function (phrase, index) { var key = "".concat(index, "-").concat(phrase.value); return jsx(Phrase, { spec: phrase }, phrase.key || key); }) })); } export { Phrase, Phrases }; //# sourceMappingURL=index.js.map