Dzień dobry,
gdy próbuje wyświetlić dane z tablicy za pomocą item.imie
<PDFViewer width="100%" height="100%">
<Document>
<Page size="A4" style={styles.page}>
<View style={styles.tytul}>
<Text>LISTA KONTRAHENTÓW PRZYPISANYCH</Text>
<Text>DO ZBIORU DNIA: {props.data} </Text>
{Dane_z_tablicy.map(item => (
<Text><p>{item.imie}</p></Text>
))}
</View>
wyświetla mi się komunikat:
renderer.js:22 Invalid 'Dawid' string child outside <Text> component
"Dawid" jest to wartość z wstawiana z {item.imie}
Jak mogę rozwiązać ten problem?