mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-20 15:01:46 +01:00
feat(CommandPalette): implement component
This commit is contained in:
15
src/runtime/types/command-palette.ts
Normal file
15
src/runtime/types/command-palette.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export interface Command {
|
||||
disabled?: boolean
|
||||
icon?: string
|
||||
iconColor?: string
|
||||
iconClass?: string
|
||||
avatar?: string
|
||||
label: string
|
||||
group?: string
|
||||
}
|
||||
|
||||
export interface Group {
|
||||
key: string
|
||||
label: string
|
||||
commands: Command[]
|
||||
}
|
||||
Reference in New Issue
Block a user