diff --git a/src/components/Icons.tsx b/src/components/Icons.tsx index 8b3357f7..44508f78 100644 --- a/src/components/Icons.tsx +++ b/src/components/Icons.tsx @@ -1,4 +1,4 @@ -import React from 'react'; +import * as React from 'react'; import { Theme, TypeOptions } from '../types'; import { Default } from '../utils'; diff --git a/src/utils/cssTransition.tsx b/src/utils/cssTransition.tsx index 0c97c3e5..eb8b7727 100644 --- a/src/utils/cssTransition.tsx +++ b/src/utils/cssTransition.tsx @@ -1,4 +1,5 @@ -import React, { useEffect, useLayoutEffect, useRef } from 'react'; +import * as React from 'react'; +import { useEffect, useLayoutEffect, useRef } from 'react'; import { ToastTransitionProps } from '../types'; import { collapseToast } from './collapseToast';