mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 17:13:15 +00:00
nav setup
This commit is contained in:
@@ -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 />;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user