nav setup

This commit is contained in:
TaylorS15
2023-02-10 17:05:42 -05:00
parent b2c1634a47
commit cf8e19f64d
4 changed files with 30 additions and 18 deletions

View File

@@ -1,17 +0,0 @@
import React, { useState } from 'react';
function MobileNavigation() {
return <div>Mobile Navigation</div>;
}
function DesktopNavigation() {
return <div>Desktop Navigation</div>;
}
export default function Navigation({ isMobile }: { isMobile: boolean }) {
if (isMobile) {
return <MobileNavigation />;
} else {
return <DesktopNavigation />;
}
}