const Template1 = ({ data }) => {
const styles = StyleSheet.create({
page: {
position: "relative",
},
watermarkContainer: {
position: "absolute",
bottom: 30,
right: 30,
zIndex: 0,
opacity: 0.5,
},
watermark: {
width: 120,
},
});
return (
{data}
);
};
< /code>
Если содержимое тега страницы заполняет несколько страниц, водяной знак показывает только на последней странице. Как добавить водяной знак на каждой странице?
Подробнее здесь: https://stackoverflow.com/questions/794 ... -react-pdf