@livetiles/reach-plugin-types 0.5.0-preview.615 → 0.5.0-preview.617
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/lib/index.d.ts +4 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7486,12 +7486,14 @@ declare module "libs/reach/feature/content/src/common/item-tile/NewsItemTile" {
|
|
|
7486
7486
|
}
|
|
7487
7487
|
declare module "libs/reach/feature/content/src/common/banner/banner-image/BannerImage" {
|
|
7488
7488
|
import { FC } from 'react';
|
|
7489
|
+
export type BannerImageLoading = 'lazy' | 'eager';
|
|
7489
7490
|
interface BannerImageProps {
|
|
7490
7491
|
children?: any;
|
|
7491
7492
|
className?: string;
|
|
7492
7493
|
imageUrl: string;
|
|
7493
7494
|
openImageUrl?: string;
|
|
7494
7495
|
altText?: string;
|
|
7496
|
+
loading?: BannerImageLoading;
|
|
7495
7497
|
}
|
|
7496
7498
|
export const BannerImage: FC<BannerImageProps>;
|
|
7497
7499
|
}
|
|
@@ -7529,6 +7531,7 @@ declare module "libs/reach/feature/content/src/common/banner/useImageEditorApi"
|
|
|
7529
7531
|
declare module "libs/reach/feature/content/src/common/banner/PublishableItemBanner" {
|
|
7530
7532
|
import { FC } from 'react';
|
|
7531
7533
|
import { BannerInfo, ItemResourceTypes } from "libs/reach/util/common/src/index";
|
|
7534
|
+
import { BannerImageLoading } from "libs/reach/feature/content/src/common/banner/banner-image/BannerImage";
|
|
7532
7535
|
interface Props {
|
|
7533
7536
|
itemId: string;
|
|
7534
7537
|
bannerInfo: BannerInfo;
|
|
@@ -7542,6 +7545,7 @@ declare module "libs/reach/feature/content/src/common/banner/PublishableItemBann
|
|
|
7542
7545
|
hidePlayerIfActive?: boolean;
|
|
7543
7546
|
className?: string;
|
|
7544
7547
|
documentIconName?: string;
|
|
7548
|
+
imageLoading?: BannerImageLoading;
|
|
7545
7549
|
}
|
|
7546
7550
|
export const PublishableItemBanner: FC<Props>;
|
|
7547
7551
|
}
|