diff --git a/packages/ui-toolkit/src/components/atoms/Toaster/Toast.tsx b/packages/ui-toolkit/src/components/atoms/Toaster/Toast.tsx index b43012ed..f85d18c6 100644 --- a/packages/ui-toolkit/src/components/atoms/Toaster/Toast.tsx +++ b/packages/ui-toolkit/src/components/atoms/Toaster/Toast.tsx @@ -9,7 +9,9 @@ import React, { CSSProperties } from 'react'; -import { getAsset, CloseIcon } from './utils/assets'; +import { MdsIcCloseCross as CloseIcon } from '@groww-tech/icon-store/mint-icons'; + +import { getAsset } from './utils/assets'; import { useIsDocumentHidden } from './utils/hooks'; import { HeightT, ToastProps } from './types'; @@ -242,7 +244,7 @@ const Toast = (props: ToastProps) => { } className='borderPrimary contentPrimary' > - + ) : null } diff --git a/packages/ui-toolkit/src/components/atoms/Toaster/utils/assets.tsx b/packages/ui-toolkit/src/components/atoms/Toaster/utils/assets.tsx index 173b41e2..e7eae1b3 100644 --- a/packages/ui-toolkit/src/components/atoms/Toaster/utils/assets.tsx +++ b/packages/ui-toolkit/src/components/atoms/Toaster/utils/assets.tsx @@ -1,28 +1,27 @@ import React from 'react'; import { - CheckCircle, - Error, - Info, - Cancel, - Close -} from '@groww-tech/icon-store/mi'; + MdsIcCheckCircleSelected, + MdsIcError, + MdsIcInfo, + MdsIcCancelCircle +} from '@groww-tech/icon-store/mint-icons'; import { ToastTypes } from '../types'; export const getAsset = (type: ToastTypes): JSX.Element | null => { switch (type) { case 'success': - return ; + return ; case 'info': - return ; + return ; case 'warning': - return ; + return ; case 'error': - return ; + return ; case 'default': @@ -30,5 +29,3 @@ export const getAsset = (type: ToastTypes): JSX.Element | null => { return null; } }; - -export const CloseIcon = () => ;