We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
新版的 rc-tabs 没有找到相关的使用文档,从源码的 .d.ts 文件来看,tabs 组件可以接受 animated prop,设置 inkBar 为 false 后应该可以隐藏 inkBar,但实际上设置后无效
.d.ts
animated
import React from "react"; import "rc-tabs/assets/index.css"; import RcTabs from "rc-tabs"; const items = [ { key: 1, label: "first", children: "content 1", }, { key: 2, label: "second", children: "content 2", }, { key: 3, label: "third", children: "content 3", } ] export default function App() { return ( <RcTabs items={items} animated={ { inkBar: false } } /> ); }
The text was updated successfully, but these errors were encountered:
... 这个配置是用来关闭动画的
Sorry, something went wrong.
文档该更新了,目前的文档和最新版的完全对不上
... 这个配置是用来关闭动画的 文档该更新了,目前的文档和最新版的完全对不上
antd 的 文档上我看没写错啊..
No branches or pull requests
新版的 rc-tabs 没有找到相关的使用文档,从源码的
.d.ts
文件来看,tabs 组件可以接受animated
prop,设置 inkBar 为 false 后应该可以隐藏 inkBar,但实际上设置后无效The text was updated successfully, but these errors were encountered: