@obosbbl/grunnmuren-react 1.14.3 → 1.14.4
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,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
interface CampaignProps<T extends React.ElementType> {
|
|
2
|
+
export interface CampaignProps<T extends React.ElementType> {
|
|
3
3
|
/** @default div */
|
|
4
4
|
as?: T;
|
|
5
5
|
body: React.ReactElement;
|
|
@@ -13,10 +13,12 @@ interface CampaignProps<T extends React.ElementType> {
|
|
|
13
13
|
*/
|
|
14
14
|
rightAlignBody?: boolean;
|
|
15
15
|
}
|
|
16
|
-
interface CampaignBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
16
|
+
export interface CampaignBodyProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
export declare const CampaignBody: import("react").ForwardRefExoticComponent<CampaignBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export interface CampaignImageProps extends React.ComponentPropsWithoutRef<'img'> {
|
|
19
20
|
}
|
|
21
|
+
export declare const CampaignImage: import("react").ForwardRefExoticComponent<CampaignImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
|
20
22
|
declare const Campaign: import("react").ForwardRefExoticComponent<Omit<CampaignProps<import("react").ElementType<any>> & Omit<Omit<any, "ref">, keyof CampaignProps<T>>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
21
23
|
Body: import("react").ForwardRefExoticComponent<CampaignBodyProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
22
24
|
Image: import("react").ForwardRefExoticComponent<CampaignImageProps & import("react").RefAttributes<HTMLImageElement>>;
|
package/dist/grunnmuren.mjs
CHANGED