mirror of
https://github.com/apache/superset.git
synced 2026-04-27 03:55:47 +00:00
refactor: icon to icons for controls (#15568)
* initial commit * Update DateFilterLabel.tsx
This commit is contained in:
committed by
GitHub
parent
026eefdb36
commit
2be52c0659
@@ -27,7 +27,7 @@ import {
|
||||
SortableElement,
|
||||
arrayMove,
|
||||
} from 'react-sortable-hoc';
|
||||
import Icon from 'src/components/Icon';
|
||||
import Icons from 'src/components/Icons';
|
||||
import {
|
||||
HeaderContainer,
|
||||
AddIconButton,
|
||||
@@ -156,11 +156,9 @@ class CollectionControl extends React.Component {
|
||||
<HeaderContainer>
|
||||
<ControlHeader {...this.props} />
|
||||
<AddIconButton onClick={this.onAdd}>
|
||||
<Icon
|
||||
name="plus-large"
|
||||
width={theme.gridUnit * 3}
|
||||
height={theme.gridUnit * 3}
|
||||
color={theme.colors.grayscale.light5}
|
||||
<Icons.PlusLarge
|
||||
iconSize="s"
|
||||
iconColor={theme.colors.grayscale.light5}
|
||||
/>
|
||||
</AddIconButton>
|
||||
</HeaderContainer>
|
||||
|
||||
Reference in New Issue
Block a user