@codecademy/gamut

74.0.174.0.2-alpha.b4821a.0
dist/Form/SelectDropdown/elements/containers.d.ts
~dist/Form/SelectDropdown/elements/containers.d.tsModified
+4−4
Index: package/dist/Form/SelectDropdown/elements/containers.d.ts
===================================================================
--- package/dist/Form/SelectDropdown/elements/containers.d.ts
+++ package/dist/Form/SelectDropdown/elements/containers.d.ts
@@ -19,13 +19,13 @@
  * Renders the selected values as a comma-separated string in the hidden input.
  */
 export declare const CustomContainer: ({ children, ...rest }: CustomSelectComponentProps<typeof SelectDropdownElements.SelectContainer>) => import("react/jsx-runtime").JSX.Element;
 /**
- * Custom ValueContainer component that applies combobox props when isSearchable is false.
- * When isSearchable is false, react-select renders a dummy input (div) that doesn't accept
- * custom props, so we apply the combobox data attributes to the ValueContainer's innerProps.
+ * Custom ValueContainer component. When isSearchable is false, it becomes the
+ * select-only combobox trigger (see `useSelectOnlyInput`). Otherwise it renders
+ * react-select's default ValueContainer.
  */
-export declare const CustomValueContainer: ({ ...rest }: CustomSelectComponentProps<typeof SelectDropdownElements.ValueContainer>) => import("react/jsx-runtime").JSX.Element;
+export declare const CustomValueContainer: ({ innerProps, ...rest }: CustomSelectComponentProps<typeof SelectDropdownElements.ValueContainer>) => import("react/jsx-runtime").JSX.Element;
 /**
  * Custom Input component that passes combobox props to the react-select input.
  * This allows data-* attributes and other props to be applied to the visible input element.
  * Works for both searchable and non-searchable modes by using the react-select Input component.