Skip to main content

SkeletonTable

Function SkeletonTable 

Source
pub fn SkeletonTable(_: SkeletonTableProps) -> Element
Expand description

通用表格骨架屏:渲染 <table> 本身(表头一行 + N 行占位表体),不含外层 卡片包裹——各调用方的外层卡片形态并不完全一致(有的独立成卡,有的与标题栏 共享同一张卡,有的嵌套在已带阴影的父卡片内无需再叠一层阴影),故由调用方 自行用 SkeletonCard 或既有容器包裹。收敛此前散落在多个后台列表页骨架屏 里几乎逐字重复的 thead/tbody 结构。

Props:

  • columns:每列的表头/表体占位规格
  • rows:占位行数

§Props

For details, see the props struct definition.