Typescript 头文件的Tabs少一个props描述 (#2043)

This commit is contained in:
董天成 2016-06-15 11:07:24 +08:00 committed by 偏右
parent 739f650d19
commit 1a0e527e09

2
index.d.ts vendored
View File

@ -1549,6 +1549,8 @@ interface TabsProps extends React.Props<Tabs> {
tabPosition?:TabsPosition,
/** 新增和删除页签的回调,在 `type="editable-card"` 时有效*/
onEdit?:(targetKey:string, action:any) => void,
/** 大小,提供 default 和 small 两种大小 */
size? string,
style?:React.CSSProperties
}