Commit fb9d0d73 authored by kenve's avatar kenve Committed by 偏右

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
parent 42e22677
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment