schummar-table 0.15.0 → 0.16.0
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.
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CommonFilterProps } from '../types';
|
|
3
|
-
export declare function TextFilter<T, V>({ compare, filterBy, ...props }: {
|
|
3
|
+
export declare function TextFilter<T, V>({ compare, filterBy, placeholder, ...props }: {
|
|
4
4
|
/** Custom comparison function. Should return true if an item value matches the current filter value.
|
|
5
5
|
* By default a fuzzy text comparison is used.
|
|
6
6
|
*/
|
|
7
7
|
compare?: (itemValue: string, filterValue: string) => boolean;
|
|
8
|
+
placeholder?: string;
|
|
8
9
|
} & CommonFilterProps<T, V, string, string>): JSX.Element;
|
package/dist/types/types.d.ts
CHANGED