dt-shared-front 2.2.64 → 2.2.65

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.
@@ -27,6 +27,7 @@ export interface IAutoCompleteProps<T> extends Omit<AutoCompleteProps, 'options'
27
27
  debounceTimeout?: number;
28
28
  stacked?: boolean;
29
29
  popupClassName?: string;
30
+ notFoundContent?: React.ReactNode;
30
31
  icon?: any;
31
32
  }
32
- export declare function AutoComplete<T>({ labels, labelKey, valueKey, onServerSearch, icon, debounceTimeout, labelPlaceholder, onRenderOption, onRenderOptionGroup, onServerSearchGroup, popupClassName, optionsGroup: optionsGroupFromProps, ...props }: IAutoCompleteProps<T>): React.JSX.Element;
33
+ export declare function AutoComplete<T>({ labels, labelKey, valueKey, onServerSearch, icon, debounceTimeout, labelPlaceholder, onRenderOption, onRenderOptionGroup, onServerSearchGroup, popupClassName, optionsGroup: optionsGroupFromProps, notFoundContent, ...props }: IAutoCompleteProps<T>): React.JSX.Element;
@@ -30,6 +30,7 @@ declare type ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {
30
30
  isMobileModal?: boolean;
31
31
  modalTitle?: string;
32
32
  isWbTheme?: boolean;
33
+ notFoundContent?: React.ReactNode;
33
34
  };
34
35
  export declare const Select: <T = any>(props: ISelectProps<T>, ref: Ref<HTMLInputElement>) => ReactElement;
35
36
  export {};
@@ -17,6 +17,7 @@ declare type ITagBoxProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {
17
17
  onChange?: (option: T[], options?: T[]) => void;
18
18
  onRenderOption?: (item: T) => React.ReactNode;
19
19
  popupClassName?: string;
20
+ notFoundContent?: React.ReactNode;
20
21
  };
21
- export declare function TagBox<T>({ labels, valueKey, labelKey, labelPlaceholder, onRenderOption, popupClassName, ...props }: ITagBoxProps<T>): React.JSX.Element;
22
+ export declare function TagBox<T>({ labels, valueKey, labelKey, labelPlaceholder, onRenderOption, popupClassName, notFoundContent, ...props }: ITagBoxProps<T>): React.JSX.Element;
22
23
  export {};