Improve keyboard navigation on sidebar tree items

This commit is contained in:
Tom Moor
2022-09-17 19:47:16 -04:00
parent 58c1a83ef0
commit b68e58fad5
4 changed files with 19 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ import { useTranslation } from "react-i18next";
import styled, { css } from "styled-components";
import NudeButton from "~/components/NudeButton";
type Props = {
type Props = React.ComponentProps<typeof Button> & {
onClick?: React.MouseEventHandler<HTMLButtonElement>;
expanded: boolean;
root?: boolean;