import React, { PropsWithChildren } from "react";
import Router from "./Router";

interface Props extends PropsWithChildren {
  toggleTheme: () => void;
//   teams: Team[];
//   setTeams: React.Dispatch<React.SetStateAction<Team[]>>;
}

export default function NavigationContainer(props: Props) {
//   const { toggleTheme, teams, setTeams } = props;
  const { toggleTheme } = props;

  return (
    <React.Fragment>
      {/* <NotificationBanner /> */}
      <Router 
        toggleTheme={toggleTheme}
      />
    </React.Fragment>
  );
}
