fn NavItem(_: NavItemProps) -> ElementExpand description
单个桌面导航项组件,根据 is_active 切换高亮样式。
§Props
For details, see the props struct definition.
route:Routelabel:&'staticstris_active:boolon_demo_navigate:Option<EventHandler<&'staticstr>>
fn NavItem(_: NavItemProps) -> Element单个桌面导航项组件,根据 is_active 切换高亮样式。
For details, see the props struct definition.
route : Routelabel : &'staticstris_active : boolon_demo_navigate : Option<EventHandler<&'staticstr>>