semi-design icon indicating copy to clipboard operation
semi-design copied to clipboard

[BUG] DefaultTabBar类型有误

Open so1ve opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Which Component

Tab

Semi Version

2.14.0

Current Behavior

DefaultTabBar的类型是ComponentType<{}>,导致无法将Props传入

Expected Behavior

没有错误

Steps To Reproduce

ReproducibleCode

使用官网标签栏二次封装的例子

Environment

No response

Anything else?

No response

so1ve avatar Jul 07 '22 11:07 so1ve

@YannLynn 需要跟下这里类型错误的问题。

pointhalo avatar Jul 11 '22 10:07 pointhalo