pub fn FilterTabs(_: FilterTabsProps) -> ElementExpand description
筛选选项卡组件。
用于切换不同的视图或筛选条件(例如:全部、待审核、已通过等)。 具备高级的平滑滑动底部指示器动画。
Props:
items:选项卡列表,每一项为(value, label)active_value:当前选中的值on_change:选项卡切换时的回调
§Props
For details, see the props struct definition.
items:Vec<(&'staticstr,&'staticstr)>active_value:Stringon_change:EventHandler<String>