feat: migrate icons to ui-next (#4606)
This commit is contained in:
1 parent
e93a9c70c5
commit
4e2ae32874
967 files changed
+9222
-10948
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import Typography from '../Typography';
|
||||
import Icon from '../Icon';
|
||||
import { Icons } from '@ohif/ui-next';
|
||||
|
||||
const ContextMenu = ({ items, ...props }) => {
|
||||
if (!items) {
|
||||
@@ -23,7 +23,7 @@ const ContextMenu = ({ items, ...props }) => {
|
||||
>
|
||||
<Typography>{item.label}</Typography>
|
||||
{item.iconRight && (
|
||||
<Icon
|
||||
<Icons.ByName
|
||||
name={item.iconRight}
|
||||
className="inline"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user