@bluemarble/bm-components 0.0.89 → 0.0.91
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.
|
@@ -11,6 +11,8 @@ export interface ColumnsProps {
|
|
|
11
11
|
interface GridProps {
|
|
12
12
|
columns: ColumnsProps[];
|
|
13
13
|
children: ReactNode;
|
|
14
|
+
prependColumn?: ReactNode;
|
|
15
|
+
appendColumn?: ReactNode;
|
|
14
16
|
fixedColumns?: boolean;
|
|
15
17
|
sortedBy: string;
|
|
16
18
|
sortedDirection: 'asc' | 'desc';
|
|
@@ -31,5 +33,5 @@ interface GridProps {
|
|
|
31
33
|
isLoading?: boolean;
|
|
32
34
|
hideFooter?: boolean;
|
|
33
35
|
}
|
|
34
|
-
export declare function BaseGrid({ columns, children,
|
|
36
|
+
export declare function BaseGrid({ columns, children, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, prependColumn, appendColumn, isLoading }: GridProps): JSX.Element;
|
|
35
37
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -207,6 +207,8 @@ interface ColumnsProps {
|
|
|
207
207
|
interface GridProps {
|
|
208
208
|
columns: ColumnsProps[];
|
|
209
209
|
children: ReactNode;
|
|
210
|
+
prependColumn?: ReactNode;
|
|
211
|
+
appendColumn?: ReactNode;
|
|
210
212
|
fixedColumns?: boolean;
|
|
211
213
|
sortedBy: string;
|
|
212
214
|
sortedDirection: 'asc' | 'desc';
|
|
@@ -227,7 +229,7 @@ interface GridProps {
|
|
|
227
229
|
isLoading?: boolean;
|
|
228
230
|
hideFooter?: boolean;
|
|
229
231
|
}
|
|
230
|
-
declare function BaseGrid({ columns, children,
|
|
232
|
+
declare function BaseGrid({ columns, children, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, prependColumn, appendColumn, isLoading }: GridProps): JSX.Element;
|
|
231
233
|
|
|
232
234
|
declare type FilterCompareType = 'gte' | 'lte' | 'lt' | 'gt' | 'equal' | 'in' | 'notEqual' | 'notIn';
|
|
233
235
|
declare type FilterProps = {
|