@wavv/ui 2.4.6-alpha.2 → 2.4.6
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.
|
@@ -11,7 +11,7 @@ type Props = {
|
|
|
11
11
|
/** The function to be called when the input text does not match any options */
|
|
12
12
|
onCreate?: (text: string) => void;
|
|
13
13
|
/** Customize the create option label. Receives raw inputText and returns the label to display. */
|
|
14
|
-
formatCreateOption?: (inputText: string) =>
|
|
14
|
+
formatCreateOption?: (inputText: string) => ReactNode;
|
|
15
15
|
ref?: React.Ref<HTMLInputElement>;
|
|
16
16
|
} & SelectInputProps & OpenStateProps & ComboBoxProps;
|
|
17
17
|
declare const _default: (({ backgroundColor, menuBackground, children, fontSize, disabled, invalid, required, readOnly, loading, loadingResults, label, options, placeholder, placeholderColor, description, errorMessage, textOnly, value, defaultValue, width, height, maxHeight, iconLeft, leftElement, rightElement, allowRepeatSelection, allowsEmptyCollection, emptyFallback, position, fixedPosition, open, onOpenChange, before, after, onChange, onCreate, formatCreateOption, afterShow, afterHide, onTextChange, ref, ...props }: Props) => import("react/jsx-runtime").JSX.Element) & {
|