hlsitechbot / src /types /navigation.d.ts
hlsitech's picture
Upload 93 files
7bbd534 verified
raw
history blame contribute delete
355 Bytes
import { ComponentType, Element } from 'react';
export interface IRoute {
path: string;
name: string;
layout?: string;
exact?: boolean;
component?: ComponentType;
icon?: ComponentType | string | Element;
secondary?: boolean;
collapse?: boolean;
items?: IRoute[];
rightElement?: boolean;
invisible?: boolean;
disabled?: boolean;
}