UNPKG

@rxap/layout

Version:

This library provides a set of Angular components and services for creating consistent and configurable application layouts, including headers, footers, side navigation, and content areas. It offers features such as dynamic navigation, external applicatio

18 lines (17 loc) 616 B
import { ComponentType } from '@angular/cdk/portal'; import { AppsNavigationConfig } from '@rxap/config'; import { IconConfig } from '@rxap/utilities'; export type ExternalApp = AppsNavigationConfig; export type ExtractUsernameFromProfileFn<T = unknown> = (profile: T) => string | null; export interface ReleaseInfoModule { name: string; version: string; hash?: string; } export type SettingsMenuItemComponent = ComponentType<unknown>; export type DefaultHeaderItemComponent = ComponentType<unknown>; export interface SettingsMenuItem { icon?: IconConfig; label: string; action: () => any; }