mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
style: remove react bootstrap fade component (#11843)
* Replace Bootstrap Fade component with custom Emotion Fade component * Fix lint errors * Added test * Fixing front-end build errors * Fix lint errors
This commit is contained in:
@@ -18,10 +18,11 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { ButtonGroup, Collapse, Fade, Well } from 'react-bootstrap';
|
||||
import { ButtonGroup, Collapse, Well } from 'react-bootstrap';
|
||||
import shortid from 'shortid';
|
||||
import { t } from '@superset-ui/core';
|
||||
|
||||
import Fade from 'src/common/components/Fade';
|
||||
import CopyToClipboard from '../../components/CopyToClipboard';
|
||||
import Link from '../../components/Link';
|
||||
import ColumnElement from './ColumnElement';
|
||||
@@ -215,7 +216,7 @@ class TableElement extends React.PureComponent {
|
||||
{table.isMetadataLoading || table.isExtraMetadataLoading ? (
|
||||
<Loading position="inline" />
|
||||
) : (
|
||||
<Fade in={this.state.hovered}>{this.renderControls()}</Fade>
|
||||
<Fade hovered={this.state.hovered}>{this.renderControls()}</Fade>
|
||||
)}
|
||||
<i
|
||||
role="button"
|
||||
|
||||
Reference in New Issue
Block a user