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 classNames from 'classnames';
|
||||
import Icon from '../Icon/Icon';
|
||||
import { Icons } from '@ohif/ui-next';
|
||||
|
||||
function LayoutPreset({
|
||||
onSelection = () => {},
|
||||
@@ -11,6 +11,7 @@ function LayoutPreset({
|
||||
classNames: classNameProps,
|
||||
disabled,
|
||||
}) {
|
||||
console.debug('🚀 ~ icon:', icon);
|
||||
return (
|
||||
<div
|
||||
className={classNames(classNameProps, disabled && 'ohif-disabled')}
|
||||
@@ -19,7 +20,7 @@ function LayoutPreset({
|
||||
}}
|
||||
data-cy={title}
|
||||
>
|
||||
<Icon
|
||||
<Icons.ByName
|
||||
name={icon}
|
||||
className="group-hover:text-primary-light"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user