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
Navigation
latest
Nav.Sub 在 renderWrapper 下没有 hover 高亮样式
Nav.Sub 在 renderWrapper 下有 hover 高亮样式
No response
import React from 'react'; import { Nav } from '@douyinfe/semi-ui'; class NavApp extends React.Component { render() { return ( <Nav renderWrapper={({ itemElement, isSubNav, isInSubNav, props }) => { const routerMap = { Home: "/", About: "/about", Dashboard: "/dashboard", "Nothing Here": "/nothing-here" }; return ( <a style={{ textDecoration: "none" }} to={routerMap[props.itemKey]} > {itemElement} </a> ); }} items={[ { itemKey: "Home", text: "Home" }, { itemKey: "About", text: "About" }, { text: "Sub", itemKey: "Sub", items: ["Dashboard", "Nothing Here"] } ]} ></Nav> ); } }
- OS: - browser:
The text was updated successfully, but these errors were encountered:
YannLynn
Successfully merging a pull request may close this issue.
Is there an existing issue for this?
Which Component
Navigation
Semi Version
latest
Current Behavior
Nav.Sub 在 renderWrapper 下没有 hover 高亮样式

Expected Behavior
Nav.Sub 在 renderWrapper 下有 hover 高亮样式
Steps To Reproduce
No response
ReproducibleCode
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: