-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
Description
Current Behavior
Passing format='pdf' to the PrintButton results in a typescript error (Type 'string' is not assignable to type 'undefined')
e.g.
<PrintButton
format='pdf'
[...]
/>See https://github.com/terrestris/react-geo/blob/main/src/Button/PrintButton/PrintButton.tsx#L13
Expected Behavior
There should be no error when providing a valid type.
Steps To Reproduce
<PrintButton
format='pdf'
[...]
/>
Version
32.5.0
What browsers are you seeing the problem on?
No response
Relevant log output
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct