@yselimcan/ui 0.0.41 → 0.0.42

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/dist/index.js +3532 -3521
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -483,10 +483,10 @@ export declare interface SearchableDropdownProps<T extends object> {
483
483
  value?: string;
484
484
  onChange?: (value: string) => void;
485
485
  onSelect?: (item: T | null) => void;
486
- filterFn: (item: T, searchTerm: string) => boolean;
487
- renderItem: (item: T) => React_2.ReactNode;
488
- getItemKey: (item: T) => string | number;
489
- getDisplayValue: (item: T) => string;
486
+ filterFn?: (item: T, searchTerm: string) => boolean;
487
+ renderItem?: (item: T) => React_2.ReactNode;
488
+ getItemKey?: (item: T) => string | number;
489
+ getDisplayValue?: (item: T) => string;
490
490
  placeholder?: string;
491
491
  onAddNew?: (searchTerm: string) => void;
492
492
  addNewLabel?: string;