mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
feat(Table): expand row (#1036)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -37,6 +37,9 @@ export default {
|
||||
label: 'text-sm text-center text-gray-900 dark:text-white',
|
||||
icon: 'w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4'
|
||||
},
|
||||
expand: {
|
||||
icon: 'transform transition-transform duration-200'
|
||||
},
|
||||
progress: {
|
||||
wrapper: 'absolute inset-x-0 -bottom-[0.5px] p-0'
|
||||
},
|
||||
@@ -51,6 +54,13 @@ export default {
|
||||
variant: 'ghost' as const,
|
||||
class: '-m-1.5'
|
||||
},
|
||||
expandButton: {
|
||||
icon: 'i-heroicons-chevron-down',
|
||||
color: 'gray' as const,
|
||||
variant: 'ghost' as const,
|
||||
size: 'xs' as const,
|
||||
class: '-my-1.5 align-middle'
|
||||
},
|
||||
checkbox: {
|
||||
color: 'primary' as const
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user