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.

29 lines (25 loc) 1.07 kB
'use strict'; var jsxRuntime = require('preact/jsx-runtime'); require('../styled/bullet.js'); require('../styled/container.js'); require('../styled/entity.js'); require('../styled/heading.js'); require('../styled/marks.js'); var paragraph = require('../styled/paragraph.js'); var index = require('../phrases/index.js'); var getPrefixCls = require('../../utils/getPrefixCls.js'); var classnames = require('../../utils/classnames.js'); require('clarinet'); var theme = require('../context/hooks/theme.js'); require('../context/hooks/plugin.js'); require('../context/hooks/event.js'); require('../../plugin/index.js'); require('tslib'); require('../../theme/seed/index.js'); function TextLine(_a) { var spec = _a.spec; var themeSeedToken = theme.useTheme(); return (jsxRuntime.jsx(paragraph.P, { theme: themeSeedToken, className: classnames.classnames(getPrefixCls.getPrefixCls('p'), spec.className), style: spec.styles, children: jsxRuntime.jsx(index.Phrases, { spec: spec.phrases }) })); } exports.TextLine = TextLine; //# sourceMappingURL=TextLine.js.map