A11y/Menu: Add keyboard support to Menu component (#38974)

This commit is contained in:
kay delaney
2021-09-20 09:08:46 +01:00
committed by GitHub
parent f3475b864c
commit d5b885f958
12 changed files with 164 additions and 71 deletions

View File

@@ -25,8 +25,8 @@ type Props = {
const renderRemovableNameMenuItems = (onClick: () => void) => {
return (
<MenuGroup label="" ariaLabel="">
<MenuItem label="remove" ariaLabel="remove" onClick={onClick} />
<MenuGroup label="">
<MenuItem label="remove" onClick={onClick} />
</MenuGroup>
);
};