mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
24 lines
705 B
TypeScript
24 lines
705 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
import type { IComputedValue } from "mobx";
|
|
import { computed } from "mobx";
|
|
import { HorizontalLine } from "../horizontal-line/horizontal-line";
|
|
|
|
export interface PreferenceTabsRoot {
|
|
kind: "preference-tabs-root";
|
|
id: string;
|
|
parentId: undefined;
|
|
isShown: IComputedValue<true>;
|
|
childSeparator: () => React.ReactElement;
|
|
}
|
|
|
|
export const preferenceTabsRoot: PreferenceTabsRoot = {
|
|
kind: "preference-tabs-root" as const,
|
|
id: "preference-tabs",
|
|
parentId: undefined,
|
|
isShown: computed(() => true as const),
|
|
childSeparator: HorizontalLine,
|
|
};
|