@livetiles/reach-plugin-types 0.4.0-preview.457 → 0.4.0-preview.458
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 +8 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -7825,13 +7825,20 @@ declare module "libs/reach/feature/content/src/common/item-tile/PageItemTile" {
|
|
|
7825
7825
|
export const PageItemTile: FC<Props>;
|
|
7826
7826
|
}
|
|
7827
7827
|
declare module "libs/reach/feature/content/src/common/ContentUtils" {
|
|
7828
|
-
import { ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
7828
|
+
import { EventItem, ImageDetails, NewsItem } from "libs/reach/util/common/src/index";
|
|
7829
7829
|
import { IntlShape } from 'react-intl';
|
|
7830
7830
|
export function getMaxImageWidth(defaultMaxWidth?: number): number;
|
|
7831
7831
|
export function getImageWidth(image: ImageDetails | string): number;
|
|
7832
7832
|
export function getNewsCardIcon(item: NewsItem, intl: IntlShape): {
|
|
7833
7833
|
name: string;
|
|
7834
7834
|
backgroundColor: string;
|
|
7835
|
+
color: string;
|
|
7836
|
+
tooltipText: string;
|
|
7837
|
+
};
|
|
7838
|
+
export function getEventCardIcon(item: EventItem, intl: IntlShape): {
|
|
7839
|
+
name: string;
|
|
7840
|
+
color: string;
|
|
7841
|
+
backgroundColor: string;
|
|
7835
7842
|
tooltipText: string;
|
|
7836
7843
|
};
|
|
7837
7844
|
}
|