mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
fix types
This commit is contained in:
parent
e43cb9fa30
commit
56a2e2d984
4
index.d.ts
vendored
4
index.d.ts
vendored
@ -1536,7 +1536,7 @@ interface TabsProps extends React.Props<Tabs> {
|
||||
/** 初始化选中面板的 key,如果没有设置 activeKey*/
|
||||
defaultActiveKey?:string,
|
||||
/** 是否隐藏加号图标,在 `type="editable-card"` 时有效 */
|
||||
hideAdd?: boolean,
|
||||
hideAdd?: boolean,
|
||||
/** 切换面板的回调*/
|
||||
onChange?:(activeKey:string) => void,
|
||||
/** tab 被点击的回调 */
|
||||
@ -1550,7 +1550,7 @@ interface TabsProps extends React.Props<Tabs> {
|
||||
/** 新增和删除页签的回调,在 `type="editable-card"` 时有效*/
|
||||
onEdit?:(targetKey:string, action:any) => void,
|
||||
/** 大小,提供 default 和 small 两种大小 */
|
||||
size? string,
|
||||
size?:string,
|
||||
|
||||
style?:React.CSSProperties
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user