From d8031aa4cba21af601f9d69359b39f20dbe0ba9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=84=9A=E9=81=93?= Date: Tue, 3 Sep 2019 20:40:39 +0800 Subject: [PATCH] fix: Anchor.Link target should not be required --- components/anchor/AnchorLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/anchor/AnchorLink.tsx b/components/anchor/AnchorLink.tsx index dab6ec2015..532f5d804c 100644 --- a/components/anchor/AnchorLink.tsx +++ b/components/anchor/AnchorLink.tsx @@ -8,7 +8,7 @@ import { ConfigConsumer, ConfigConsumerProps } from '../config-provider'; export interface AnchorLinkProps { prefixCls?: string; href: string; - target: string; + target?: string; title: React.ReactNode; children?: React.ReactNode; className?: string;