@cleen/ui 0.1.236 → 0.1.238
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2554,6 +2554,7 @@ interface GroupSelectorProps<G = unknown, I = unknown> {
|
|
|
2554
2554
|
* `itemTitleKey`, `itemSubtitleKey`) let you use any plain object shape for groups and items.
|
|
2555
2555
|
* - `selectedItemID` highlights the currently active item.
|
|
2556
2556
|
* - `onItemSelect` is fired when the user picks an item; `onGroupSave`/`onItemSave` handle creation.
|
|
2557
|
+
* Resolve them with the new id under `groupIDKey` / `itemIDKey` and the selector auto-selects it.
|
|
2557
2558
|
* - Use `isLoading`, `isGroupSaving`, `isItemSaving` to show loader states during async operations.
|
|
2558
2559
|
* - Accepts `classNames` and `styles` for granular visual customisation of every element.
|
|
2559
2560
|
*/
|