Browse Source

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
pull/1391/head
kenve 8 years ago
committed by 偏右
parent
commit
fb9d0d7372
  1. 1
      src/components/GlobalFooter/index.d.ts

1
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;

Loading…
Cancel
Save