Explorar o código

fix #1981 change import function

陈帅 %!s(int64=7) %!d(string=hai) anos
pai
achega
8b2b78e64d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/NoticeIcon/index.d.ts

+ 1 - 1
src/components/NoticeIcon/index.d.ts

@@ -1,4 +1,4 @@
-import React from 'react';
+import * as React from 'react';
 import NoticeIconTab, { INoticeIconData } from './NoticeIconTab';
 
 export interface INoticeIconProps {