mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* converting app-preferences to use di Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com> * address review comments and fix lint Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com> * use compact license header Signed-off-by: Jim Ehrismann <jehrismann@mirantis.com>
24 lines
542 B
TypeScript
24 lines
542 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
import type React from "react";
|
|
|
|
export interface AppPreferenceComponents {
|
|
Hint: React.ComponentType<any>;
|
|
Input: React.ComponentType<any>;
|
|
}
|
|
|
|
export interface AppPreferenceRegistration {
|
|
title: string;
|
|
id?: string;
|
|
showInPreferencesTab?: string;
|
|
components: AppPreferenceComponents;
|
|
}
|
|
|
|
export interface RegisteredAppPreference extends AppPreferenceRegistration {
|
|
id: string;
|
|
}
|
|
|