Typescript

This commit is contained in:
Mitchell McCaffrey
2021-07-17 12:48:04 +10:00
parent e48d19a817
commit fecf8090ea
23 changed files with 556 additions and 254 deletions

View File

@@ -9,10 +9,10 @@ type MapMenuProps = {
isOpen: boolean;
onRequestClose: RequestCloseEventHandler;
onModalContent: (instance: HTMLDivElement) => void;
top: number;
left: number;
bottom: number;
right: number;
top: number | string;
left: number | string;
bottom: number | string;
right: number | string;
children: React.ReactNode;
style: React.CSSProperties;
excludeNode: Node | null;