@bigbinary/neeto-commons-frontend 2.0.41 → 2.0.42
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/package.json +1 -1
- package/react-utils.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.42",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/react-utils.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export const Columns: React.FC<{
|
|
|
131
131
|
noColumnMessage?: string;
|
|
132
132
|
onChange: (columns: any[]) => any[];
|
|
133
133
|
searchProps?: InputProps;
|
|
134
|
-
}
|
|
134
|
+
}>;
|
|
135
135
|
|
|
136
136
|
type ZustandConfigType = (
|
|
137
137
|
set: (data: any) => void,
|
|
@@ -269,8 +269,8 @@ type ConfigType = {
|
|
|
269
269
|
enabled?: boolean;
|
|
270
270
|
};
|
|
271
271
|
export function useHotKeys(
|
|
272
|
-
hotkey: string,
|
|
273
|
-
handler: () => void,
|
|
272
|
+
hotkey: string | string[],
|
|
273
|
+
handler: (event: React.KeyboardEvent) => void,
|
|
274
274
|
config?: ConfigType
|
|
275
275
|
): React.MutableRefObject | null;
|
|
276
276
|
|