mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
docs(table): fix expandable example responsive
This commit is contained in:
@@ -30,7 +30,7 @@ Use the `columns` prop to configure which columns to display. It's an array of o
|
|||||||
- `direction` - The sort direction to use on first click. Defaults to `asc`.
|
- `direction` - The sort direction to use on first click. Defaults to `asc`.
|
||||||
- `class` - The class to apply to the column cells.
|
- `class` - The class to apply to the column cells.
|
||||||
- `rowClass` - The class to apply to the data column cells. :u-badge{label="New" class="!rounded-full" variant="subtle"}
|
- `rowClass` - The class to apply to the data column cells. :u-badge{label="New" class="!rounded-full" variant="subtle"}
|
||||||
- `sort` - Pass your own `sort` function. Defaults to a simple _greater than_ / _less than_ comparison.
|
- `sort` - Pass your own `sort` function. Defaults to a simple _greater than_ / _less than_ comparison.
|
||||||
|
|
||||||
Arguments for the `sort` function are: Value A, Value B, Direction - 'asc' or 'desc'
|
Arguments for the `sort` function are: Value A, Value B, Direction - 'asc' or 'desc'
|
||||||
|
|
||||||
@@ -319,6 +319,7 @@ You can use the `expand` slot to display extra information about a row. You will
|
|||||||
|
|
||||||
::component-example{class="grid"}
|
::component-example{class="grid"}
|
||||||
---
|
---
|
||||||
|
extraClass: 'overflow-hidden'
|
||||||
padding: false
|
padding: false
|
||||||
component: 'table-example-expandable'
|
component: 'table-example-expandable'
|
||||||
componentProps:
|
componentProps:
|
||||||
|
|||||||
Reference in New Issue
Block a user