-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(switch): add tab index for accessibility with tab key on switch (#…
…95) * feat(switch): add tab index for acceblity with tab key on switch Add tab index for acceblity with tab key on switch * test(switch): update snapshot tests for teb index Update snapshot tests for tab index * feat(switch): add onChange function and keypress enter listener add onChange function and keypress enter listener * refactor(switch): add enter key press listener Add enter key press listener * feat(switch): change eventlistener with onKeyDown prop Change eventlistener with onKeyDown prop * feat(switch): add onChange prop to switch component add onChange prop to switch component * test(switch): update switch component screenshot tests update switch component screenshot tests
- Loading branch information
1 parent
f83dbc3
commit 494af3a
Showing
5 changed files
with
35 additions
and
8 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
Binary file modified
BIN
+71 Bytes
(110%)
...c/__tests__/__image_snapshots__/Switch events tests click when checked-snap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
494af3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage report
Test suite run success
238 tests passing in 34 suites.
Report generated by 🧪jest coverage report action from 494af3a