mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
expose MainLayout to extensions (#3125)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
723ba1df37
commit
a21ede72c8
@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
// layouts
|
||||
export * from "../../renderer/components/layout/main-layout";
|
||||
export * from "../../renderer/components/layout/setting-layout";
|
||||
export * from "../../renderer/components/layout/page-layout";
|
||||
export * from "../../renderer/components/layout/wizard-layout";
|
||||
|
||||
@ -34,6 +34,11 @@ interface Props {
|
||||
footer?: React.ReactNode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Main layout is commonly used as a wrapper for "global pages"
|
||||
*
|
||||
* @link https://api-docs.k8slens.dev/master/extensions/capabilities/common-capabilities/#global-pages
|
||||
*/
|
||||
@observer
|
||||
export class MainLayout extends React.Component<Props> {
|
||||
onSidebarResize = (width: number) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user