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
@@ -2,8 +2,7 @@ import React, { useState, useRef, useEffect } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
|
||||
import Icon from '../Icon';
|
||||
import { Icons } from '@ohif/ui-next';
|
||||
|
||||
const DELAY_TO_SHOW = 1000;
|
||||
const DELAY_TO_HIDE = 10; // it needs at least a little delay to prevent tooltip to suddenly hide
|
||||
@@ -145,7 +144,7 @@ const TooltipClipboard = ({ children, text = '' }) => {
|
||||
<>
|
||||
{children}
|
||||
<div className="border-secondary-light ml-2 border-l pl-2">
|
||||
<Icon
|
||||
<Icons.ByName
|
||||
name="clipboard"
|
||||
className="w-4 text-white"
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user