rudimentary display of dynamic data

This commit is contained in:
2025-12-10 22:55:18 +01:00
parent 89f01c2f80
commit f05f56d42a
8 changed files with 361 additions and 118 deletions
@@ -0,0 +1,66 @@
import { StyleSheet } from "@react-pdf/renderer";
export const styles = StyleSheet.create({
page: { flexDirection: "column", padding: 30, fontSize: 10 },
header: { marginBottom: 20, textAlign: "center" },
title: { fontSize: 18, fontWeight: "bold", marginBottom: 4 },
section: { margin: 10, padding: 10, flexGrow: 1 },
row: {
flexDirection: "row",
borderBottomWidth: 1,
borderBottomColor: "#000",
alignItems: "center",
height: 24,
},
cell: { flex: 1, padding: 2 },
cellSmall: {
width: 40,
padding: 2,
borderLeftWidth: 1,
borderLeftColor: "#000",
},
// headerRow: {
// flexDirection: "row",
// backgroundColor: "#E4E4E4",
// borderBottomWidth: 1,
// borderBottomColor: "#000",
// height: 30,
// alignItems: "center",
// },
boardHeaderRow: {
flexDirection: "row",
justifyContent: "space-between",
},
infoTable: {
borderWidth: 1,
borderColor: "#000",
marginTop: 5,
marginBottom: 10,
},
infoRow: {
flexDirection: "row",
},
infoCellHeader: {
flex: 1,
padding: 5,
textAlign: "center",
fontWeight: "bold",
// backgroundColor: "#E4E4E4",
borderRightWidth: 1,
borderRightColor: "#000",
borderBottomWidth: 1,
borderBottomColor: "#000",
fontSize: 10,
},
infoCell: {
flex: 1,
padding: 5,
textAlign: "center",
borderRightWidth: 1,
borderRightColor: "#000",
fontSize: 10,
},
lastCell: {
borderRightWidth: 0,
},
});