Invalid prop keyboard of type function supplied to Constructor
SuperManEver opened this issue · 1 comments
SuperManEver commented
When I try to provide callback for handling escape key press using keyboard
I get back warning complaing about Failed prop type
. I tried to use onKeyPress
, but none of the approaches work as expected, function that I provided as callback doesn't get called.
`
Edit Modal
Close `ViniciusTavares commented
It still doesn't work... I've been using a boolean to skip this warning.