Procházet zdrojové kódy

fix:add the type declaration of the "key" field (#1367)

* fix:add the type declaration of the "key" field

* change to a optional property and prettier code
kenve před 7 roky
rodič
revize
fb9d0d7372
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/components/GlobalFooter/index.d.ts

+ 1 - 0
src/components/GlobalFooter/index.d.ts

@@ -1,6 +1,7 @@
 import * as React from 'react';
 export interface IGlobalFooterProps {
   links?: Array<{
+    key?: string;
     title: React.ReactNode;
     href: string;
     blankTarget?: boolean;