Skip to content
Snippets Groups Projects
index.tsx 340 B
Newer Older
import React, { ReactNode } from 'react';
Jacopo Gasparetto's avatar
Jacopo Gasparetto committed
import { Home } from './Home';
import { Buckets } from './Buckets';
Jacopo Gasparetto's avatar
Jacopo Gasparetto committed

export type Route = {
  title: string,
  path: string,
  element: ReactNode
Jacopo Gasparetto's avatar
Jacopo Gasparetto committed
}

export const routes: Route[] = [
  { title: "Home", path: "/", element: <Home /> },
  { title: "Buckets", path: "/buckets", element: <Buckets /> }