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