mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 04:37:57 +01:00
docs(table): update
This commit is contained in:
@@ -12,7 +12,7 @@ links:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
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.
|
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. *Some features of TanStack Table are not supported yet, we'll add more over time.*
|
||||||
|
|
||||||
::component-example
|
::component-example
|
||||||
---
|
---
|
||||||
@@ -26,10 +26,6 @@ class: '!p-0'
|
|||||||
This example demonstrates the most common use case of the `Table` component. Check out the source code on GitHub.
|
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
|
### Data
|
||||||
|
|
||||||
Use the `data` prop as an array of objects, the columns will be generated based on the keys of the objects.
|
Use the `data` prop as an array of objects, the columns will be generated based on the keys of the objects.
|
||||||
|
|||||||
Reference in New Issue
Block a user