@groceristar/pdf-export
Version:
module to use pdf-export feature between projects
48 lines (42 loc) • 905 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.listStyles = exports.documentStyles = void 0;
var _renderer = require("@react-pdf/renderer");
// @TODO someone want to replace it with smacss
var listStyles = _renderer.StyleSheet.create({
item: {
flexDirection: 'row',
marginBottom: 5,
marginLeft: '25px'
},
bulletPoint: {
width: 10,
fontSize: 14
},
itemContent: {
flex: 1,
fontSize: 14
},
knob: {
alignItems: 'center',
justifyContent: 'center',
width: '10px',
height: '10px',
borderWidth: 1,
borderColor: 'black',
position: 'absolute',
backgroundColor: 'white',
fontSize: 8
}
});
exports.listStyles = listStyles;
var documentStyles = _renderer.StyleSheet.create({
title: {
fontSize: 16,
marginBottom: 10,
color: 'blue'
}
});
exports.documentStyles = documentStyles;