Files
ohif-viewer/platform/docs/versioned_docs/version-3.10/migration-guide/3p8-to-3p9/2-Renamings.md
T

33 lines
829 B
Markdown
Raw Normal View History

---
id: 2-renamings
title: Renamings
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
## Panel Measurements
The panel in the default extension is renamed from `measure` to `panelMeasurement` to be more consistent with the rest of the extensions.
**Action Needed**
Update any references to the `measure` panel to `panelMeasurement` in your code.
Find and replace
<Tabs>
<TabItem value="Before" label="Before 🕰️" default>
@ohif/extension-default.panelModule.measure
</TabItem>
<TabItem value="After" label="After 🚀" >
@ohif/extension-cornerstone.panelModule.panelMeasurement
</TabItem>
</Tabs>
## addIcon from ui
The addIcon from the ui package has had a version added in the default extension as
`utils.addIcon` which adds to both `ui` and `ui-next`.