turn on tabindex-no-positive rule (#55830)

This commit is contained in:
Ashley Harrison
2022-09-27 15:18:24 +01:00
committed by GitHub
parent d17ab82b98
commit afdb094983
2 changed files with 5 additions and 5 deletions
@@ -27,10 +27,10 @@ const meta: ComponentMeta<typeof Dropdown> = {
export function Examples() {
const menu = (
<Menu>
<Menu.Item label="View settings" tabIndex={0} />
<Menu.Item label="Edit actions" tabIndex={1} />
<Menu.Item label="Share" tabIndex={2} />
<Menu.Item label="Delete" tabIndex={3} />
<Menu.Item label="View settings" />
<Menu.Item label="Edit actions" />
<Menu.Item label="Share" />
<Menu.Item label="Delete" />
</Menu>
);