-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Checkbox): onFocus and onBlur events (#1361)
* fix(Checkbox): added onFocus prop * fix(Checkbox): added handleFocus callback to be triggered * fix(Checkbox): added onMouseDown event to invoke focus event * fix: call user onMouseDown prop when onMouseDown event is trigger * style: added onMouseDown to component propTypes * Update Checkbox.js * test: potential fix for checkbox test * fix(Checkbox): onFocus and onBlur events
- Loading branch information
1 parent
a325294
commit f048cb5
Showing
3 changed files
with
62 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters