Created
May 15, 2021 19:23
-
-
Save GeoffMahugu/4beec2ee3b3b92f02138d1a843dc26f8 to your computer and use it in GitHub Desktop.
This is a react-firebase routes interface
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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