PDF Report titles are now dynamic
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user