PDF Report titles are now dynamic

This commit is contained in:
Joao Ramos
2024-01-08 22:15:54 +00:00
parent 647807a07c
commit cd8860f6ac
2 changed files with 23 additions and 11 deletions

View File

@@ -29,9 +29,11 @@ interface Props {
logo: string;
qrcode: string;
renderDetails: React.ReactNode;
title: string;
}
const PDFReport = ({
title,
date,
name,
email,
@@ -68,7 +70,7 @@ const PDFReport = ({
{ fontSize: 14 },
]}
>
English Skills Test Result Report
{title}
</Text>
</View>
<View style={styles.textPadding}>