@coreui/angular
Version:
CoreUI for Angular UI components library
52 lines (51 loc) • 1.18 kB
TypeScript
export interface INavAttributes {
[propName: string]: any;
}
export interface INavWrapper {
attributes: INavAttributes;
element: string;
}
export interface INavBadge {
text: string;
color: string;
size?: string;
class?: string;
}
export interface INavLabel {
class?: string;
variant: string;
}
export interface INavLinkProps {
queryParams?: {
[k: string]: any;
};
fragment?: string;
queryParamsHandling?: 'merge' | 'preserve' | '';
preserveFragment?: boolean;
skipLocationChange?: boolean;
replaceUrl?: boolean;
state?: {
[k: string]: any;
};
routerLinkActiveOptions?: {
exact: boolean;
};
routerLinkActive?: string | string[];
}
export interface INavData {
name?: string;
url?: string | any[];
href?: string;
icon?: string;
iconComponent?: any;
badge?: INavBadge;
title?: boolean;
children?: INavData[];
variant?: string;
attributes?: INavAttributes;
divider?: boolean;
class?: string;
label?: INavLabel;
wrapper?: INavWrapper;
linkProps?: INavLinkProps;
}