diff --git a/src/utils/cssTransition.tsx b/src/utils/cssTransition.tsx index 5fcf17a2..748d0fd6 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 { collapseToast } from './collapseToast'; import { Default, SyntheticEvent } from './constant';