@cloudwick/astral-ui 3.0.1 → 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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  UI Library for Cloudwick
4
4
 
5
- Version - 3.0.1
5
+ Version - 3.0.2
6
6
 
7
7
  ## Installation
8
8
 
@@ -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: number;
60
+ debounceTime?: number;
61
61
  /**
62
62
  * Attach the debounced search function
63
63
  */
64
- onSearch: (value: string) => void;
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: ISearchProps;
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;