fn Metric(props: MetricProps) -> impl IntoViewExpand description
指标卡片:标签、数值、补充说明,可带进度条等子元素。
value / meta 可传字符串或信号;meta 为空时不渲染说明行。
§Required Props
label: [&'static str]value:impl Into<Signal<String>>
§Optional Props
meta:impl Into<Signal<String>>mono:boolsmall:boolchildren: [Children]