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 from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import classnames from 'classnames';
|
||||
import getGridWidthClass from '../../utils/getGridWidthClass';
|
||||
|
||||
import Icon from '../Icon';
|
||||
import { Icons } from '@ohif/ui-next';
|
||||
|
||||
const StudyListTableRow = props => {
|
||||
const { tableData } = props;
|
||||
@@ -62,10 +61,11 @@ const StudyListTableRow = props => {
|
||||
<div className="flex">
|
||||
{index === 0 && (
|
||||
<div>
|
||||
<Icon
|
||||
name={isExpanded ? 'chevron-down' : 'chevron-right'}
|
||||
className="mr-4 inline-flex"
|
||||
/>
|
||||
{isExpanded ? (
|
||||
<Icons.ChevronOpen className="-mt-1 mr-4 inline-flex" />
|
||||
) : (
|
||||
<Icons.ChevronClosed className="-mt-1 mr-4 inline-flex rotate-180" />
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
<div
|
||||
|
||||
Reference in new issue
Block a user