View as Markdown

API reference: @salmonui/layout/dashboard-layout

DashboardLayoutPanelPropsinterface

import type { DashboardLayoutPanelProps } from '@salmonui/layout/dashboard-layout';
interface DashboardLayoutPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'id' | 'children'> {
    readonly id: string;
    readonly header?: ReactNode;
    readonly children?: ReactNode;
}
DashboardLayoutPanelProps members (3)
NameSignatureDescription
idreadonly id: string;

Stable panel id: the id of its layout item.

headeroptionalreadonly header?: ReactNode;

Header content; it names the panel for assistive technology.

childrenoptionalreadonly children?: ReactNode;