1234567891011121314151617181920212223242526 |
- export interface IPrivateProps {
- children: React.ReactNode;
- token?: string;
- exact?: any;
- path: string;
- }
- export interface IPrivateState {
- authorization: {
- token: string;
- };
- }
- export interface IPublicState {
- authorization: {
- token: string;
- };
- }
- export interface IPublicProps {
- children: React.ReactNode;
- restricted?: boolean;
- token?: string;
- exact?: any;
- path: string;
- }
|