delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
6cb0ac6a50
commit
823ada374d
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ MenuItemCheckbox.propTypes = {
|
|||
};
|
||||
|
||||
// Semantic component for representing a styled role=menuitemcheckbox
|
||||
export const StyledMenuItemCheckbox = ({children, label, onChange, onClose, checked=false, disabled=false, ...props}) => {
|
||||
export const StyledMenuItemCheckbox = ({children, label, onChange, onClose, checked, disabled=false, ...props}) => {
|
||||
const onKeyDown = (ev) => {
|
||||
// Implements https://www.w3.org/TR/wai-aria-practices/#keyboard-interaction-12
|
||||
if (ev.key === Key.ENTER || ev.key === Key.SPACE) {
|
||||
|
|
Loading…
Reference in a new issue