Explorar o código

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 %!s(int64=7) %!d(string=hai) anos
pai
achega
fb9d0d7372
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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';
 import * as React from 'react';
 export interface IGlobalFooterProps {
 export interface IGlobalFooterProps {
   links?: Array<{
   links?: Array<{
+    key?: string;
     title: React.ReactNode;
     title: React.ReactNode;
     href: string;
     href: string;
     blankTarget?: boolean;
     blankTarget?: boolean;