1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/extensions/registries/cluster-feature-registry.ts
Jari Kolehmainen 6d0c07b3d1 simplify page/menu/registry implementation
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
2020-11-13 09:27:48 +02:00

19 lines
509 B
TypeScript

import type React from "react"
import { BaseRegistry } from "./base-registry";
import { ClusterFeature } from "../cluster-feature";
export interface ClusterFeatureComponents {
Description: React.ComponentType<any>;
}
export interface ClusterFeatureRegistration {
title: string;
components: ClusterFeatureComponents
feature: ClusterFeature
}
export class ClusterFeatureRegistry extends BaseRegistry<ClusterFeatureRegistration> {
}
export const clusterFeatureRegistry = new ClusterFeatureRegistry()