Dropdown keys and pointer events

This commit is contained in:
Gregory Schier
2023-04-10 16:02:29 -07:00
parent db2dc823f2
commit 8c7409a24f
8 changed files with 21 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ export function RadioDropdown<T = string | null>({
return item;
} else {
return {
key: item.label,
label: item.label,
shortLabel: item.shortLabel,
onSelect: () => onChange(item.value),