Function: registerProjectDetailsTab()
function registerProjectDetailsTab(projectDetailsTab: ProjectDetailsTab): void
Register a new tab in the project details view.
This allows plugins to add custom tabs to the project details page, extending the information displayed about a project.
Parameters
| Parameter | Type | Description |
|---|---|---|
projectDetailsTab | ProjectDetailsTab | The tab configuration to register |
Returns
void
Example
registerProjectDetailsTab({
id: 'custom-metrics',
label: 'Metrics',
component: ({ project }) => <ProjectMetrics project={project} />
});