@sesamehr/react-design-system 2.0.0-beta.13 → 2.0.0-beta.15
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.
|
@@ -3,6 +3,13 @@ export interface ComboboxChipsInputProps extends Omit<React.InputHTMLAttributes<
|
|
|
3
3
|
placeholder?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
size?: InputSize;
|
|
6
|
+
/**
|
|
7
|
+
* Names a chip the options cannot: a selection that arrived with the record,
|
|
8
|
+
* from a server, before any item existed to report a label. Return
|
|
9
|
+
* `undefined` for anything it does not know and the option's own label is
|
|
10
|
+
* used, so it never has to answer for values the list can speak for itself.
|
|
11
|
+
*/
|
|
12
|
+
chipLabel?: (value: string) => string | undefined;
|
|
6
13
|
/** Custom trigger content (defaults to a chevron icon). */
|
|
7
14
|
trigger?: React.ReactNode;
|
|
8
15
|
}
|