1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/extensions/registries/app-preference-registry.ts
Roman a489d9aabe more fixes & refactoring
Signed-off-by: Roman <ixrock@gmail.com>
2020-11-12 13:58:05 +02:00

18 lines
495 B
TypeScript

import type React from "react"
import { BaseRegistry, BaseRegistryItem } from "./base-registry";
export interface AppPreferenceComponents {
Hint: React.ComponentType<any>;
Input: React.ComponentType<any>;
}
export interface AppPreferenceRegistration extends BaseRegistryItem {
title: string;
components: AppPreferenceComponents;
}
export class AppPreferenceRegistry extends BaseRegistry<AppPreferenceRegistration> {
}
export const appPreferenceRegistry = new AppPreferenceRegistry()