mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 07:48:00 +00:00
17 lines
458 B
TypeScript
17 lines
458 B
TypeScript
import type { IconName } from '@fortawesome/fontawesome-svg-core';
|
|
import type React from 'react';
|
|
import type { Routes } from '@pezkuwi/apps-routing/types';
|
|
export interface ItemRoute {
|
|
Modal?: React.ComponentType<any>;
|
|
href?: string;
|
|
icon: IconName;
|
|
name: string;
|
|
text: string;
|
|
useCounter?: () => number | string | null;
|
|
}
|
|
export interface Group {
|
|
name: string;
|
|
routes: Routes;
|
|
}
|
|
export type Groups = Record<string, Group>;
|