Updated the ToggleSwitch to use the keyboard for focus and toggling (#856)
Updated the ToggleSwitch to use the keyboard for focus and toggling (#856)

* Updated the ToggleSwitch component to be focused by the keyboard

* removed tabINdex and implemented native button element

* moved onclick method to the parent button element

* built util to check for tab key

* removed the util to check for space or enter since button native element implemts that

* removed the onKeyDown event for the toggle button and removed the util to check for tab keypress

mxenabled/mx-react-components