phx-react
Version:
PHX REACT
39 lines (38 loc) • 878 B
TypeScript
import { SIDEBAR_TYPE } from '../constant';
export interface INavItem {
name: string;
code: string;
path: string;
current?: boolean;
child: Array<INavItem>;
isPined?: boolean;
disabled?: boolean;
isMicroservice?: boolean;
description?: string;
showChild?: boolean;
requiredActionCount?: number;
}
export interface IResultItemSearchItem {
id: string;
code: string;
name: string;
path: string;
pathCode: string;
}
export type TSidebarType = `${SIDEBAR_TYPE}`;
export interface ITheme {
name: string;
code: string;
bgColorFrom: string;
bgColorTo: string;
sideBarColorDefault: string;
activeIconColor: string;
activeBgColor: string;
checkBoxColor: string;
borderColor: string;
}
export interface IIcon {
isActive?: boolean;
activeColor?: string;
isBoldIcon?: boolean;
}