asma-core-ui 3.0.129 → 3.0.131
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.
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* When inserting a component from a third-party library into a slot, you may encounter this warning: "React does not recognize the ownerState prop on a DOM element." This is because the custom component isn't prepared to receive the ownerState like a built-in library component would be.
|
|
4
|
+
*/
|
|
5
|
+
export declare function prepareForSlot<ComponentType extends React.ElementType>(Component: ComponentType): import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<import("react").ComponentProps<ComponentType>> & import("react").RefAttributes<HTMLElement>>;
|