@applica-software-guru/react-admin 1.4.187 → 1.4.188

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.
@@ -1,3 +1,9 @@
1
+ /**
2
+ * Generate the title of a resource page from its name and the current record.
3
+ *
4
+ * @param title Can be the resource name, a fully qualified translation key, or a boolean to disable the title
5
+ * @returns The title of the resource, based on the current record and the resource name
6
+ */
7
+ export declare function useResourceTitle(title: string | boolean | undefined): string | boolean | undefined;
1
8
  export default useResourceTitle;
2
- declare function useResourceTitle(title: any): any;
3
9
  //# sourceMappingURL=useResourceTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useResourceTitle.d.ts","sourceRoot":"","sources":["../../../src/hooks/useResourceTitle.jsx"],"names":[],"mappings":";AAIA,mDAqBC"}
1
+ {"version":3,"file":"useResourceTitle.d.ts","sourceRoot":"","sources":["../../../src/hooks/useResourceTitle.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAqBlG;AAED,eAAe,gBAAgB,CAAC"}