mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Roman <ixrock@gmail.com> Co-authored-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
24 lines
626 B
TypeScript
24 lines
626 B
TypeScript
import React from "react";
|
|
import { Component, Interface, LensRendererExtension } from "@k8slens/extensions";
|
|
import { SupportPage } from "./src/support";
|
|
|
|
export default class SupportPageRendererExtension extends LensRendererExtension {
|
|
globalPages: Interface.PageRegistration[] = [
|
|
{
|
|
components: {
|
|
Page: SupportPage,
|
|
}
|
|
}
|
|
]
|
|
|
|
statusBarItems: Interface.StatusBarRegistration[] = [
|
|
{
|
|
item: (
|
|
<div className="SupportPageIcon flex align-center" onClick={() => this.navigate()}>
|
|
<Component.Icon interactive material="help" smallest/>
|
|
</div>
|
|
)
|
|
}
|
|
]
|
|
}
|