diff --git a/src/components/Header.tsx b/src/components/Header.tsx index ca2af2c..e5b027f 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -10,9 +10,9 @@ export function Header (){
diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 40ca6ab..581b9cb 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -1,16 +1,17 @@ type Props = { name: string; - isSelected: boolean; - onClick: () => void; + isSelected?: boolean; + isNotSelected?: boolean; + onClick?: () => void; } -export function MenuItem ({name, isSelected, onClick}: Props) { +export function MenuItem ({name, isSelected, isNotSelected, onClick}: Props) { return( //