@kinvolk/headlamp-plugin
Version:
The needed infrastructure for building Headlamp plugins.
12 lines (11 loc) • 442 B
TypeScript
import React from 'react';
export type HeaderStyle = 'main' | 'subsection' | 'normal' | 'label';
export interface SectionHeaderProps {
title: string;
subtitle?: string | React.ReactNode;
actions?: React.ReactNode[] | null;
noPadding?: boolean;
headerStyle?: HeaderStyle;
titleSideActions?: React.ReactNode[];
}
export default function SectionHeader(props: SectionHeaderProps): import("react/jsx-runtime").JSX.Element;