mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-18 20:09:08 +02:00
86631b53c9
* fix: strategy dialogue * fix: fontweight dropdown * fix: eventlog padding * refactor: history * refactor: use material ui styling conventions for history * refactor: add empty state for features * refactor: variant dialog * refactor: delete unused variant config * fix: variant typography * fix: remove unused styles file * fix: footer * feat: protected routes * fix: rename app * fix: remove console log * fix: convert app to typescript * fix: add standalone login screen * fix: cleanup * fix: add theme colors for login * fix: update tests * fix: swap route with ProtectedRoute * fix: remove unused redirect * fix: use redirect to correctly setup breadcrumbs * refactor: isUnauthorized * fix: reset loading count on logout * fix: create a more comprehensive auth check * feat: add unleash logo
17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
import React from 'react';
|
|
import { RouteComponentProps } from 'react-router';
|
|
|
|
interface IRoute {
|
|
path: string;
|
|
icon?: string;
|
|
title?: string;
|
|
component: React.ComponentType;
|
|
type: string;
|
|
layout: string;
|
|
hidden?: boolean;
|
|
flag?: string;
|
|
parent?: string;
|
|
}
|
|
|
|
export default IRoute;
|