pub fn Header(props: HeaderProps) -> impl IntoViewExpand description
顶部导航栏组件。
Props:
nav_items:导航项列表(随路径变化)right_content:右侧自定义内容(如搜索入口、主题切换)max_width:内部导航的宽度类,需与正文max-w-*一致以保证左右边缘对齐
§Required Props
nav_items:impl Into<Signal<Vec<NavItemConfig>>>right_content:impl Into<ViewFn>
§Optional Props
max_width: [&'static str]