@cloudwick/astral-ui 3.0.0 → 3.0.2
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/README.md +1 -1
- package/dist/components/dataTable/index.d.ts +3 -3
- package/dist/css/index.min.css +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -57,11 +57,11 @@ interface ISearchProps extends Pick<ITextFieldProps, "placeholder" | "hidden" |
|
|
|
57
57
|
/**
|
|
58
58
|
* Props to control the onSearch function debounceTime
|
|
59
59
|
*/
|
|
60
|
-
debounceTime
|
|
60
|
+
debounceTime?: number;
|
|
61
61
|
/**
|
|
62
62
|
* Attach the debounced search function
|
|
63
63
|
*/
|
|
64
|
-
onSearch
|
|
64
|
+
onSearch?: (value: string) => void;
|
|
65
65
|
}
|
|
66
66
|
interface IPaginationProps {
|
|
67
67
|
onPageSizeChange?: (args: number) => void;
|
|
@@ -187,7 +187,7 @@ interface ITableProps<T> {
|
|
|
187
187
|
/**
|
|
188
188
|
* Allows to set search textfield props.
|
|
189
189
|
*/
|
|
190
|
-
searchProps
|
|
190
|
+
searchProps?: ISearchProps;
|
|
191
191
|
}
|
|
192
192
|
export declare const DataTable: <T extends object>({ advancedFilters, basicFilters, className, columns, data, filters, loading, paginationProps, resizable, selectable, sorting, columnVirtualization, rowVirtualization, height, pageSizeOptions, customCTAs, searchProps, setFilters, setSorting, onRefresh, onRowSelection, setColumns }: ITableProps<T>) => ReactNode;
|
|
193
193
|
export default DataTable;
|