mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 23:11:43 +01:00
feat(CommandPalette): handle loading field in items
This commit is contained in:
@@ -25,5 +25,12 @@ export default (options: Required<ModuleOptions>) => ({
|
||||
itemLabelBase: 'text-[var(--ui-text-highlighted)] [&>mark]:text-[var(--ui-bg)] [&>mark]:bg-[var(--ui-primary)]',
|
||||
itemLabelPrefix: 'text-[var(--ui-text)]',
|
||||
itemLabelSuffix: 'text-[var(--ui-text-dimmed)] [&>mark]:text-[var(--ui-bg)] [&>mark]:bg-[var(--ui-primary)]'
|
||||
},
|
||||
variants: {
|
||||
loading: {
|
||||
true: {
|
||||
itemLeadingIcon: 'animate-spin'
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user