DetailsPanelTab
Definition
export interface DetailsPanelTab {
/**
* Unique identifier for the tab.
*/
id: string;
/**
* Label text for the tab (optional if icon provided).
*/
label?: string;
/**
* FontAwesome icon identifier for the tab (optional if label provided).
*/
icon?: string;
/**
* Toolbar items specific to this tab (optional).
* Can be static or a function that returns toolbar items based on row data.
*/
toolbarItems?: {
left: ToolbarItem[];
right: ToolbarItem[];
} | ((item: RowData) => {
left: ToolbarItem[];
right: ToolbarItem[];
});
/**
* Details content for this tab (mandatory).
*/
details: ((item: RowData) => ObjectInfoCardProps) | DetailsContent;
}Usage
Related Types
Last updated