freemium-ui 2.0.27 → 2.0.29

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.
package/lib/index.d.ts CHANGED
@@ -368,13 +368,11 @@ interface AutoCompleteProps<T extends DefaultAutoCompleteItem = DefaultAutoCompl
368
368
  *
369
369
  */
370
370
  emptyItemsText?: string;
371
+ processFetchData?: (data: any[]) => T[];
371
372
  itemComponent?: (item: T, props?: AutoCompleteInputItemProps) => React.ReactNode | string;
372
373
  }
373
374
 
374
- /**
375
- * Dropdown displays a list or drop-down box that enables selection of an option or multiple options from an available list of values.
376
- */
377
- declare const AutoComplete: <T extends DefaultDropdownItem>({ initialItems, disabled, id, label, errorText, name, placeholder, width, onChange, itemComponent, itemToString, searchKey, defaultSelectedItem, readOnly, itemIdentifier, isErrored, emptyItemsText, isRequired, style, url, }: AutoCompleteProps<T>) => react__default.JSX.Element;
375
+ declare const AutoComplete: <T extends DefaultDropdownItem>({ initialItems, disabled, id, label, errorText, name, placeholder, width, onChange, itemComponent, itemToString, searchKey, defaultSelectedItem, readOnly, itemIdentifier, isErrored, emptyItemsText, processFetchData, isRequired, style, url, }: AutoCompleteProps<T>) => react__default.JSX.Element;
378
376
 
379
377
  type ButtonSizeKey = 'mini' | 'normal' | 'large';
380
378
  type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'link';