Skip to content

Commit ee1c60e

Browse files
committed
fix: icon for dropdown and error
1 parent 34f91c4 commit ee1c60e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Shared/Components/SelectPicker/SelectPicker.component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import ReactSelect, { ControlProps, MenuProps } from 'react-select'
22
import { useCallback, useMemo } from 'react'
33
import { ReactComponent as ErrorIcon } from '@Icons/ic-warning.svg'
4-
import { ReactComponent as ICInfoFilledOverride } from '@Icons/ic-info-filled.svg'
4+
import { ReactComponent as ICInfoFilledOverride } from '@Icons/ic-info-filled-override.svg'
55
import { getCommonSelectStyle } from './utils'
66
import {
77
SelectPickerClearIndicator,
@@ -80,7 +80,7 @@ const SelectPicker = ({
8080
</div>
8181
{error && (
8282
<div className="flex left dc__gap-4 cr-5 fs-11 lh-16 fw-4">
83-
<ErrorIcon className="icon-dim-16 p-2 form__icon--error dc__no-shrink dc__align-self-start" />
83+
<ErrorIcon className="icon-dim-16 p-1 form__icon--error dc__no-shrink dc__align-self-start" />
8484
<span className="dc__ellipsis-right__2nd-line">{error}</span>
8585
</div>
8686
)}

src/Shared/Components/SelectPicker/common.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
ClearIndicatorProps,
88
} from 'react-select'
99
import { Progressing } from '@Common/Progressing'
10-
import { ReactComponent as ICChevronDown } from '@Icons/ic-chevron-down.svg'
10+
import { ReactComponent as ICCaretDown } from '@Icons/ic-caret-down.svg'
1111
import { ReactComponent as ICClose } from '@Icons/ic-close.svg'
1212
import { SelectPickerOptionType, SelectPickerProps } from './type'
1313

@@ -16,7 +16,7 @@ export const SelectPickerDropdownIndicator = (props: DropdownIndicatorProps) =>
1616

1717
return (
1818
<components.DropdownIndicator {...props}>
19-
<ICChevronDown className={`icon-dim-16 ${isDisabled ? 'fcn-3' : 'fcn-6'} dc__no-shrink`} />
19+
<ICCaretDown className={`icon-dim-16 ${isDisabled ? 'scn-3' : 'scn-6'} dc__no-shrink`} />
2020
</components.DropdownIndicator>
2121
)
2222
}

0 commit comments

Comments
 (0)