freemium-ui 2.0.13 → 2.0.15
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/lib/index.cjs.js +4244 -4182
- package/lib/index.d.ts +9 -0
- package/lib/index.js +4608 -4546
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1147,6 +1147,10 @@ declare const Reorder: <T extends ReorderItemType = ReorderItemType>(props: Reor
|
|
|
1147
1147
|
type RowData = {
|
|
1148
1148
|
[key in string]: any;
|
|
1149
1149
|
};
|
|
1150
|
+
type SortingOptionsType = {
|
|
1151
|
+
id: string;
|
|
1152
|
+
name: string;
|
|
1153
|
+
};
|
|
1150
1154
|
interface FuiTableColumnType<T extends RowData> {
|
|
1151
1155
|
id: string;
|
|
1152
1156
|
Header: string;
|
|
@@ -1162,6 +1166,11 @@ interface TableProps<T extends RowData> {
|
|
|
1162
1166
|
count?: number;
|
|
1163
1167
|
pageSize?: number;
|
|
1164
1168
|
pageIndex?: number;
|
|
1169
|
+
sortingHeading?: string;
|
|
1170
|
+
enableSorting?: boolean;
|
|
1171
|
+
sortingOptions?: SortingOptionsType[][];
|
|
1172
|
+
sortingValues?: string[];
|
|
1173
|
+
onSortingOptionSelect?: (option: string[]) => void;
|
|
1165
1174
|
enablePreviousPage?: boolean;
|
|
1166
1175
|
enableNextPage?: boolean;
|
|
1167
1176
|
isLoading?: boolean;
|