Przeglądaj źródła

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 7 lat temu
rodzic
commit
fb9d0d7372
1 zmienionych plików z 1 dodań i 0 usunięć
  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;