diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.78k stars 1.17k forks source link

Missing styles when using the render prop #2195

Open stevecastaneda opened 1 year ago

stevecastaneda commented 1 year ago

Describe the bug When using the render prop of the View or Text component, the children styles are not applied. Am I doing anything wrong here? I need to use the render function to conditionally display some elements based on the incoming props.

To Reproduce View REPL with Bug

Expected behavior Styles to be applied to children.

Screenshots CleanShot 2023-02-10 at 15 46 35@2x

Desktop (please complete the following information):

oscarbotteri commented 1 year ago

I am also having this problem

Akshay-kumar-sah commented 1 year ago

I'm interested to solve this issue assign me please