This commit is contained in:
Tom Moor
2022-04-09 20:25:54 -07:00
parent 48fad5cfa0
commit 9281287dba
15 changed files with 56 additions and 38 deletions

View File

@@ -14,7 +14,7 @@ import {
import * as React from "react";
import { useTranslation } from "react-i18next";
import { useHistory } from "react-router-dom";
import { useMenuState, MenuButton } from "reakit/Menu";
import { useMenuState, MenuButton, MenuButtonHTMLProps } from "reakit/Menu";
import { VisuallyHidden } from "reakit/VisuallyHidden";
import getDataTransferFiles from "@shared/utils/getDataTransferFiles";
import Collection from "~/models/Collection";
@@ -37,7 +37,7 @@ type Props = {
collection: Collection;
placement?: Placement;
modal?: boolean;
label?: (arg0: any) => React.ReactNode;
label?: (props: MenuButtonHTMLProps) => React.ReactNode;
onOpen?: () => void;
onClose?: () => void;
};