From 1a0e527e09fbec714e883d12264e2cb60bc61bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=A4=A9=E6=88=90?= Date: Wed, 15 Jun 2016 11:07:24 +0800 Subject: [PATCH] =?UTF-8?q?Typescript=20=E5=A4=B4=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E7=9A=84Tabs=E5=B0=91=E4=B8=80=E4=B8=AAprops=E6=8F=8F=E8=BF=B0?= =?UTF-8?q?=20(#2043)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 27b61a8e45..a8c175c276 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1549,6 +1549,8 @@ interface TabsProps extends React.Props { tabPosition?:TabsPosition, /** 新增和删除页签的回调,在 `type="editable-card"` 时有效*/ onEdit?:(targetKey:string, action:any) => void, + /** 大小,提供 default 和 small 两种大小 */ + size? string, style?:React.CSSProperties }