Skip to content

Commit

Permalink
refactor: interface로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
jiwonh423 committed Sep 21, 2023
1 parent effa738 commit c711a98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/Layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ interface NavBarProps {
$layoutWidth: '100vw' | '372px';
}

type NavbarItem = {
interface NavbarItemProps {
key: NavbarHighlightKeys;
label: string;
icon: React.FunctionComponent;
focusIcon: React.FunctionComponent;
};
}

const NAV_ITEMS: NavbarItem[] = [
const NAV_ITEMS: NavbarItemProps[] = [
{ key: 'home', label: '홈', icon: Home, focusIcon: FocusHome },
{
key: 'seeTogether',
Expand Down

0 comments on commit c711a98

Please sign in to comment.