Closed Serjobas closed 6 years ago
Update readme.md and add deprecation notes, please Look at the reference diff: https://github.com/a-x-/react-easy-print/compare/WIP
fixed PR issues in the latest commit
I replied you in some folded in comments
Remove the example 5 and add single prop to the example 1
📦 0.7.3-0
unexpected initial margin-top: 0px;margin-left: 0px;
.hiddenAll on PrintProvider is not working at all (some nodes mount out of PrintProvider, e.g. modals render self at end of body)
closes #4
Added aliases for props
With new prop names API became more clear and more obvious
Now you should use
Now print mode doesn't remove the state of your React app
Now when you proceed to print mode ( cmd/ctrl + P ), Print components are being rendered in the new DOM element, which disappears after you exit from print mode. Because of that your React app keeps it's state.
Refactoring
index.js single file splitted into independent react components, some unused code was removed from the lib
ts typings