mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
18 lines
381 B
TypeScript
18 lines
381 B
TypeScript
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 />;
|
|
}
|
|
}
|