Skip to content

Instantly share code, notes, and snippets.

@GeoffMahugu
Created May 15, 2021 19:23
Show Gist options
  • Select an option

  • Save GeoffMahugu/4beec2ee3b3b92f02138d1a843dc26f8 to your computer and use it in GitHub Desktop.

Select an option

Save GeoffMahugu/4beec2ee3b3b92f02138d1a843dc26f8 to your computer and use it in GitHub Desktop.
This is a react-firebase routes interface
export default interface IRoute {
path: string;
exact: boolean;
component: any;
name: string; // Used to update page infon and title.
protected: boolean; // This will defines if the route is proteted or not
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment