Files
Homarr/src/components/modules/modules.tsx
Aj - Thomas 32f81cefe7 🏗️ 💥 Change the whole folder structure.
Now using src as a subfolder to the source files
2022-05-14 01:14:56 +02:00

12 lines
388 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 IModule {
title: string;
description: string;
icon: React.ReactNode;
component: React.ComponentType;
props?: any;
}