Normalize interface naming — remove I prefix convention (#255)

* update pr workflow

* interface to types

* use consistent import

* import type syntax

* test plan note
This commit is contained in:
tmshv authored and GitHub committed 2026-02-08 15:57:11 +07:00
1 parent 7ab9147183
commit 9ee9bce197
20 files changed
+130 -100

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
import s from "./styles.module.css"
import { IMenu } from "@/types"
import type { MenuItem } from "@/types"
import * as NavigationMenu from "@radix-ui/react-navigation-menu"
import classnames from "classnames/bind"
import { useRouter } from "next/router"
@@ -10,8 +10,8 @@ let cx = classnames.bind(s)
export type MenuProps = {
vertical?: boolean
items: IMenu[]
onItemClick?: (item: IMenu) => void
items: MenuItem[]
onItemClick?: (item: MenuItem) => void
}
export const Menu: React.FC<MenuProps> = ({ vertical = false, onItemClick, items }) => {