Profile editing: Allow adding arbitrary featured tags (#38012)

This commit is contained in:
Echo
2026-03-02 17:32:08 +01:00
committed by GitHub
parent 03b2f77ad2
commit 74b3b6c798
8 changed files with 120 additions and 65 deletions

View File

@@ -63,7 +63,10 @@ interface ComboboxProps<T extends ComboboxItem> extends TextInputProps {
* Customise the rendering of each option.
* The rendered content must not contain other interactive content!
*/
renderItem: (item: T, state: ComboboxItemState) => React.ReactElement;
renderItem: (
item: T,
state: ComboboxItemState,
) => React.ReactElement | string;
/**
* The main selection handler, called when an option is selected or deselected.
*/