@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.
16 lines (13 loc) • 552 B
JavaScript
import { __assign } from 'tslib';
import { createStyledComponent } from './utils/styledFactory.js';
import { getCommonStyle } from './utils/commonStyle.js';
var getParagraphStyle = function (theme) {
var lineHeight = theme.lineHeight;
return __assign(__assign({}, getCommonStyle(theme)), { minHeight: "".concat(lineHeight, "px"), lineHeight: "".concat(lineHeight, "px"), marginBottom: '4px' });
};
var P = createStyledComponent({
element: 'p',
factoryStyles: getParagraphStyle,
});
export { P };
//# sourceMappingURL=paragraph.js.map