[x] I followed instructions in documentation written for my React-PDF version
[x] I have checked if this bug is not already reported
[x] I have checked if an issue is not listed in Known issues
Description
First of all in your npm docs the onLoadProgress method is given in page props but it should be present in Document props. When the onLoadProgress is called, loaded is defined and I get values for that but total is logged as undefined.
Before you start - checklist
Description
First of all in your npm docs the onLoadProgress method is given in page props but it should be present in Document props. When the onLoadProgress is called, loaded is defined and I get values for that but total is logged as undefined.
Steps to reproduce
Expected behavior
I expect to get a total value
Environment