@canonical/maas-react-components 2.8.0 → 2.8.1
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.
|
@@ -17,6 +17,6 @@ import { ComponentType } from 'react';
|
|
|
17
17
|
* keeps `<SidePanel />` mounted (and open) while the chunk loads, and shows the
|
|
18
18
|
* spinner inside the panel.
|
|
19
19
|
*/
|
|
20
|
-
export declare const lazyLoadSidePanel: (loader: () => Promise<{
|
|
21
|
-
default: ComponentType
|
|
20
|
+
export declare const lazyLoadSidePanel: <P extends Record<string, unknown> = Record<string, unknown>>(loader: () => Promise<{
|
|
21
|
+
default: ComponentType<P>;
|
|
22
22
|
}>, showSkeletonTitle?: boolean) => ComponentType;
|
package/package.json
CHANGED