gantri-components 2.225.0 → 2.226.0
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.
|
@@ -67,6 +67,11 @@ export interface OptionSelectorProps {
|
|
|
67
67
|
size?: ResolutionAwareProp<OptionSelectorSize>;
|
|
68
68
|
/** Error message from Formik validation. */
|
|
69
69
|
errorMessage?: string;
|
|
70
|
+
/**
|
|
71
|
+
* When true, clicking the currently selected option clears the selection
|
|
72
|
+
* (emits an empty string). Defaults to true.
|
|
73
|
+
*/
|
|
74
|
+
allowDeselect?: boolean;
|
|
70
75
|
}
|
|
71
76
|
export interface StyledOptionProps {
|
|
72
77
|
$disabled: boolean;
|