14
14
* limitations under the License.
15
15
*/
16
16
17
- import { ReactComponent as ICInfoFilled } from '@Icons/ic-info-filled.svg'
18
17
import { ReactComponent as ICError } from '@Icons/ic-error.svg'
19
18
import { ReactComponent as ICSuccess } from '@Icons/ic-success.svg'
20
19
import { ReactComponent as ICWarningY5 } from '@Icons/ic-warning-y5.svg'
21
20
import { ReactComponent as ICHelp } from '@Icons/ic-help.svg'
22
21
import { ComponentSizeType } from '@Shared/constants'
23
22
import { ButtonProps } from '../Button'
23
+ import { Icon } from '../Icon'
24
24
import { InfoBlockProps } from './types'
25
25
26
26
export const VARIANT_TO_BG_MAP : Record < InfoBlockProps [ 'variant' ] , string > = {
@@ -35,10 +35,10 @@ export const VARIANT_TO_BG_MAP: Record<InfoBlockProps['variant'], string> = {
35
35
export const VARIANT_TO_ICON_MAP : Record < InfoBlockProps [ 'variant' ] , InfoBlockProps [ 'customIcon' ] > = {
36
36
error : < ICError /> ,
37
37
help : < ICHelp className = "fcv-5" /> ,
38
- information : < ICInfoFilled /> ,
38
+ information : < Icon name = "ic-info-filled" color = "B500" /> ,
39
39
success : < ICSuccess /> ,
40
40
warning : < ICWarningY5 /> ,
41
- neutral : < ICInfoFilled className = "circle-fill--n7" /> ,
41
+ neutral : < Icon name = "ic-info-filled" color = { null } /> ,
42
42
}
43
43
44
44
export const CONTAINER_SIZE_TO_CLASS_MAP : Record < InfoBlockProps [ 'size' ] , string > = {
0 commit comments