mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 00:15:05 +01:00
feat(Table): expand row (#1036)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -301,6 +301,19 @@ componentProps:
|
||||
---
|
||||
::
|
||||
|
||||
### Expandable :u-badge{label="New" class="align-middle ml-2 !rounded-full" variant="subtle"}
|
||||
|
||||
You can use the `expand` slot to display extra information about a row. You will have access to the `row` property in the slot scope.
|
||||
|
||||
::component-example{class="grid"}
|
||||
---
|
||||
padding: false
|
||||
component: 'table-example-expandable'
|
||||
componentProps:
|
||||
class: 'flex-1'
|
||||
---
|
||||
::
|
||||
|
||||
### Loading
|
||||
|
||||
Use the `loading` prop to indicate that data is currently loading with an indeterminate [Progress](/components/progress#indeterminate) bar.
|
||||
|
||||
Reference in New Issue
Block a user