import React from "react"; import { View, StyleSheet } from "@react-pdf/renderer"; import styled from "@react-pdf/styled-components"; const Description = styled.Text` text-align: left; width: "100%"; font-size: 9px; `; const styles = StyleSheet.create({ tableContainer: { flexDirection: "row", flexWrap: "wrap", marginTop: 1, }, row: { flexDirection: "row", height: 16, }, }); function AgentOfficerDocId({ dat }: any) { return ( For more informtion: {dat.coverPage && ( RE Agent: {dat.coverPage.agent_name}, {dat.coverPage.agent_phone} )} {dat.coverPage && ( Loan Officer: {dat.coverPage.loan_officer_name},{" "} {dat.coverPage.loan_officer_phone} )} {dat.coverPage && ( Document Id: {dat.coverPage.doc_id} )} ); } export default AgentOfficerDocId;