mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 08:50:34 +01:00
feat(CommandPalette): implement component
This commit is contained in:
@@ -193,6 +193,19 @@ const defaultProps = {
|
||||
}
|
||||
]
|
||||
},
|
||||
CommandPalette: {
|
||||
groups: [{
|
||||
key: 'people',
|
||||
label: 'People',
|
||||
commands: [
|
||||
{ id: 1, label: 'Durward Reynolds', disabled: false },
|
||||
{ id: 2, label: 'Kenton Towne', disabled: false },
|
||||
{ id: 3, label: 'Therese Wunsch', disabled: false },
|
||||
{ id: 4, label: 'Benedict Kessler', disabled: true },
|
||||
{ id: 5, label: 'Katelyn Rohan', disabled: false }
|
||||
]
|
||||
}]
|
||||
},
|
||||
Icon: {
|
||||
name: 'heroicons-outline:bell'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user