diff --git a/docs/content/3.components/table.md b/docs/content/3.components/table.md index 01d16047b5..5a5c01de06 100644 --- a/docs/content/3.components/table.md +++ b/docs/content/3.components/table.md @@ -105,6 +105,13 @@ highlights: When rendering components with `h`, you can either use the `resolveComponent` function or import from `#components`. :: +### Meta + +Use the `meta` prop as an object ([TableMeta](https://tanstack.com/table/latest/docs/api/core/table#meta)) to pass properties like: + +- `class`: + - `tr`: [The classes to apply to the `tr` element.]{class="text-muted"} + ### Loading Use the `loading` prop to display a loading state, the `loading-color` prop to change its color and the `loading-animation` prop to change its animation. diff --git a/src/runtime/components/Table.vue b/src/runtime/components/Table.vue index 6952858910..c3a29e3096 100644 --- a/src/runtime/components/Table.vue +++ b/src/runtime/components/Table.vue @@ -2,7 +2,7 @@