feat: Ultrasound Pleura B-line Annotation Mode & Extension (#5061)
This commit is contained in:
1 parent
9b8eef9474
commit
226f9b0773
46 files changed
+7123
-3660
No files matched your search
@@ -0,0 +1,31 @@
|
||||
import React from 'react';
|
||||
|
||||
import USAnnotationPanel from './panels/USAnnotationPanel';
|
||||
|
||||
/**
|
||||
* Creates and returns the panel module for ultrasound annotation
|
||||
* @param params - Object containing commandsManager, servicesManager, and extensionManager
|
||||
* @returns Array of panel configurations
|
||||
*/
|
||||
const getPanelModule = ({ commandsManager, servicesManager, extensionManager }: withAppTypes) => {
|
||||
/**
|
||||
* Wrapper component for the USAnnotationPanel that injects the required props
|
||||
* @param props - Component props including configuration
|
||||
* @returns The wrapped USAnnotationPanel component
|
||||
*/
|
||||
const wrappedUSAnnotationPanel = ({ configuration }) => {
|
||||
return <USAnnotationPanel />;
|
||||
};
|
||||
|
||||
return [
|
||||
{
|
||||
name: 'USAnnotationPanel',
|
||||
iconName: 'tab-linear',
|
||||
iconLabel: 'US Annotation',
|
||||
label: 'USAnnotation',
|
||||
component: wrappedUSAnnotationPanel,
|
||||
},
|
||||
];
|
||||
};
|
||||
|
||||
export default getPanelModule;
|
||||
Reference in new issue
Block a user