12 lines
228 B
TypeScript
12 lines
228 B
TypeScript
export interface TemplateContract {
|
|
name: string;
|
|
description?: string;
|
|
config: {
|
|
layout?: string;
|
|
styles?: string[];
|
|
scripts?: string[];
|
|
};
|
|
loader: () => Promise<void>;
|
|
element: () => React.ReactNode;
|
|
}
|