refactor: add typescript definition and fix some type error

This commit is contained in:
HD
2022-06-23 22:58:13 +08:00
parent b66919114d
commit e0bbbf4f30
39 changed files with 640 additions and 324 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { FC, MouseEvent } from "react";
import StyledMenu from "./styled/Menu";
interface Item {
export interface Item {
title: string;
icon: string;
handler: (e: MouseEvent) => void;