File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
superset-frontend/src/components/Select Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1818 */
1919import { ensureIsArray , t , styled } from '@superset-ui/core' ;
2020import AntdSelect , { LabeledValue as AntdLabeledValue } from 'antd/lib/select' ;
21+ import { DownOutlined } from '@ant-design/icons' ;
2122import React , { ReactElement , RefObject } from 'react' ;
2223import Icons from 'src/components/Icons' ;
2324import { StyledHelperText , StyledLoadingText , StyledSpin } from './styles' ;
@@ -32,13 +33,6 @@ const StyledSearchOutlined = styled(Icons.SearchOutlined)`
3233 }
3334` ;
3435
35- const StyledDownOutlined = styled ( Icons . DownOutlined ) `
36- svg {
37- width: 12px;
38- height: 12px;
39- }
40- ` ;
41-
4236export function isObject ( value : unknown ) : value is Record < string , unknown > {
4337 return (
4438 value !== null &&
@@ -142,7 +136,7 @@ export const getSuffixIcon = (
142136 if ( showSearch && isDropdownVisible ) {
143137 return < StyledSearchOutlined /> ;
144138 }
145- return < StyledDownOutlined /> ;
139+ return < DownOutlined /> ;
146140} ;
147141
148142export const dropDownRenderHelper = (
You can’t perform that action at this time.
0 commit comments