lkd-web-kit 0.5.2 → 0.5.3
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/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -339,7 +339,7 @@ export declare interface LayoutProps {
|
|
|
339
339
|
params: Promise<PageParams>;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
|
-
export declare type ModalManagerWrappedComponentProps<T
|
|
342
|
+
export declare type ModalManagerWrappedComponentProps<T extends object> = T & {
|
|
343
343
|
modalProps: ModalProps;
|
|
344
344
|
};
|
|
345
345
|
|
|
@@ -571,7 +571,7 @@ export declare interface WithControllerProps {
|
|
|
571
571
|
disabled?: boolean;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
export declare const withModalManager: <CustomProps extends
|
|
574
|
+
export declare const withModalManager: <CustomProps extends object>(WrappedComponent: React.ComponentType<ModalManagerWrappedComponentProps<CustomProps>>) => FC<CustomProps & {
|
|
575
575
|
modalProps: ModalProps;
|
|
576
576
|
} & WithModalManagerProps>;
|
|
577
577
|
|