@bigbinary/neeto-commons-frontend 2.0.119 → 2.0.120

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/react-utils.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.0.119",
3
+ "version": "2.0.120",
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
@@ -428,7 +428,7 @@ export function useFieldSubmit(onSubmit: () => any): {
428
428
  * // will set the browser title to `All products | neetoStore` when this page is rendered.
429
429
  * @endexample
430
430
  */
431
- export function withTitle(Component: () => JSX.Element, title?: string): (props) => JSX.Element;
431
+ export function withTitle<T>(Component: React.ComponentType<T>, title?: string | null): (props: T) => JSX.Element;
432
432
  /**
433
433
  *
434
434
  * A browser push notifications utility function which asks the user permissions to