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
IndexBar.indexList支持传入节点, 例如把Array<number | string>扩展为Array<number | string | {index: number | string, label: ReactNode}>, 将索引值和具体展示分开
Array<number | string>
Array<number | string | {index: number | string, label: ReactNode}>
有时候index会是一个短句,为了保持一致性,index会用一个icon代替, 参考携程国际版的国际电话区号选择
The text was updated successfully, but these errors were encountered:
当前 IndexBar 的 itemRender 属性应该能完成需求,至于拓展接口近期没有计划(忙不过来🥹)
IndexBar
itemRender
Sorry, something went wrong.
No branches or pull requests
What is the new or updated feature that you are suggesting?
IndexBar.indexList支持传入节点, 例如把
Array<number | string>
扩展为Array<number | string | {index: number | string, label: ReactNode}>
, 将索引值和具体展示分开Why should this feature be included?
有时候index会是一个短句,为了保持一致性,index会用一个icon代替, 参考携程国际版的国际电话区号选择
The text was updated successfully, but these errors were encountered: