@data-c/ui 0.2.49 → 0.2.50

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/dist/index.d.ts CHANGED
@@ -1023,6 +1023,7 @@ type AutocompleteProps<T = any> = {
1023
1023
  value?: T | null;
1024
1024
  options: Array<T>;
1025
1025
  filterOptions?: (options: T[], state: any) => T[];
1026
+ renderOption?: (props: React__default.HTMLAttributes<HTMLLIElement>, option: T) => React__default.ReactNode;
1026
1027
  renderValue?: (value: T) => string;
1027
1028
  onSearchChange?: (query: string, reason: AutocompleteInputChangeReason) => void;
1028
1029
  isLoading?: boolean;
@@ -1050,6 +1051,7 @@ declare function TransporterRoot<T = any>(props: TransporterRootProps<T>): react
1050
1051
  type TransporterTextFieldProps = {
1051
1052
  endAdornment?: React.ReactElement;
1052
1053
  disableLocalFiltering?: boolean;
1054
+ renderOption?: (props: React.HTMLAttributes<HTMLLIElement>, option: any) => React.ReactNode;
1053
1055
  } & Omit<AutocompleteProps, 'onChange' | 'value'>;
1054
1056
  declare function TransporterTextField(props: TransporterTextFieldProps): react_jsx_runtime.JSX.Element;
1055
1057