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.

27 lines (24 loc) 953 B
import { jsx } from 'preact/jsx-runtime'; import '../styled/bullet.js'; import '../styled/container.js'; import '../styled/entity.js'; import '../styled/heading.js'; import '../styled/marks.js'; import { P } from '../styled/paragraph.js'; import { Phrases } from '../phrases/index.js'; import { getPrefixCls } from '../../utils/getPrefixCls.js'; import { classnames } from '../../utils/classnames.js'; import 'clarinet'; import { useTheme } from '../context/hooks/theme.js'; import '../context/hooks/plugin.js'; import '../context/hooks/event.js'; import '../../plugin/index.js'; import 'tslib'; import '../../theme/seed/index.js'; function TextLine(_a) { var spec = _a.spec; var themeSeedToken = useTheme(); return (jsx(P, { theme: themeSeedToken, className: classnames(getPrefixCls('p'), spec.className), style: spec.styles, children: jsx(Phrases, { spec: spec.phrases }) })); } export { TextLine }; //# sourceMappingURL=TextLine.js.map