- Añade scaffold de frontend con Vite y React - Configura Vitest y tests básicos (App, Navbar) - Añade QueryClient y hooks/plantillas iniciales
13 lines
247 B
TypeScript
13 lines
247 B
TypeScript
import React from 'react';
|
|
|
|
export default function Navbar(): JSX.Element {
|
|
return (
|
|
<nav style={{ padding: 12 }}>
|
|
<a href="/roms" style={{ marginRight: 12 }}>
|
|
ROMs
|
|
</a>
|
|
<a href="/games">Games</a>
|
|
</nav>
|
|
);
|
|
}
|