mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-03 03:55:56 +01:00
12 lines
390 B
TypeScript
12 lines
390 B
TypeScript
|
|
// This interface is to be used in all the modules of the project
|
||
|
|
// Each module should have its own interface and call the following function:
|
||
|
|
// TODO: Add a function to register a module
|
||
|
|
// Note: Maybe use context to keep track of the modules
|
||
|
|
export interface MHPModule {
|
||
|
|
title: string;
|
||
|
|
description: string;
|
||
|
|
icon: React.ReactNode;
|
||
|
|
component: React.ComponentType;
|
||
|
|
props?: any;
|
||
|
|
}
|