docs(table): update

This commit is contained in:
Benjamin Canac
2024-10-23 17:49:17 +02:00
parent efeb3f9cfa
commit 90a775bab9

View File

@@ -14,10 +14,6 @@ links:
The Table component is built on top of [TanStack Table](https://tanstack.com/table/latest) and is powered by the [useVueTable](https://tanstack.com/table/latest/docs/framework/vue/vue-table#usevuetable) composable to provide a flexible and fully type-safe API.
::note
Some features of **TanStack Table** are not supported yet, we'll add more over time.
::
::component-example
---
source: false
@@ -30,6 +26,10 @@ class: '!p-0'
This example demonstrates the most common use case of the `Table` component. Check out the source code on GitHub.
::
::note
Some features of **TanStack Table** are not supported yet, we'll add more over time.
::
### Data
Use the `data` prop as an array of objects, the columns will be generated based on the keys of the objects.