mayak-common-library-payload 0.1.53 → 0.1.55

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.mts CHANGED
@@ -64,7 +64,7 @@ interface IWorker {
64
64
  bgImage?: string | null;
65
65
  }
66
66
  interface IBenefit {
67
- image?: string;
67
+ image?: string | ReactNode;
68
68
  label?: string;
69
69
  description?: ReactNode;
70
70
  }
@@ -259,8 +259,8 @@ interface IOfficeItem {
259
259
  }
260
260
  interface BlockContactsProps {
261
261
  className?: string;
262
- text?: string;
263
- title?: string;
262
+ text?: string | null;
263
+ title?: string | null;
264
264
  offices?: IOfficeItem[];
265
265
  }
266
266
  declare const BlockContacts: FC<PropsWithChildren & BlockContactsProps>;
@@ -645,7 +645,7 @@ declare function WhatIsYour({ className, text3, text2, text1, title, }: IWhatIsY
645
645
  interface TextImageTileBlockProps {
646
646
  className?: string;
647
647
  title?: string | null;
648
- text?: ReactNode;
648
+ content?: ReactNode | string;
649
649
  image?: string;
650
650
  actionComponent?: ReactNode;
651
651
  turn?: 'right' | 'left' | null;
package/dist/index.d.ts CHANGED
@@ -64,7 +64,7 @@ interface IWorker {
64
64
  bgImage?: string | null;
65
65
  }
66
66
  interface IBenefit {
67
- image?: string;
67
+ image?: string | ReactNode;
68
68
  label?: string;
69
69
  description?: ReactNode;
70
70
  }
@@ -259,8 +259,8 @@ interface IOfficeItem {
259
259
  }
260
260
  interface BlockContactsProps {
261
261
  className?: string;
262
- text?: string;
263
- title?: string;
262
+ text?: string | null;
263
+ title?: string | null;
264
264
  offices?: IOfficeItem[];
265
265
  }
266
266
  declare const BlockContacts: FC<PropsWithChildren & BlockContactsProps>;
@@ -645,7 +645,7 @@ declare function WhatIsYour({ className, text3, text2, text1, title, }: IWhatIsY
645
645
  interface TextImageTileBlockProps {
646
646
  className?: string;
647
647
  title?: string | null;
648
- text?: ReactNode;
648
+ content?: ReactNode | string;
649
649
  image?: string;
650
650
  actionComponent?: ReactNode;
651
651
  turn?: 'right' | 'left' | null;