cockpit-plugin-base-react - v1.1.1
    Preparing search index...

    Function PluginPage

    • Root layout wrapper for a Cockpit plugin page.

      Composes ErrorBoundary + ToastProvider + PatternFly Page/PageSection so that every plugin starts with the same accessible shell without copy-pasting boilerplate.

      Parameters

      • __namedParameters: PluginPageProps

      Returns Element

      export function App() {
      return (
      <PluginPage fallbackTitle="Error loading My Plugin">
      <MyContent />
      </PluginPage>
      );
      }