mayak-common-library-payload 0.2.18 → 0.2.20

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
@@ -119,12 +119,12 @@ interface IAnyLevelBlock {
119
119
  }
120
120
  declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
121
121
 
122
- interface AnyQuestionsBlockProps {
122
+ interface AnyQuestionsBlockProps extends PropsWithChildren {
123
123
  worker?: IWorker | null;
124
124
  className?: string;
125
125
  title?: string;
126
126
  }
127
- declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
127
+ declare const AnyQuestionsBlock: ({ worker, className, children, }: AnyQuestionsBlockProps) => react_jsx_runtime.JSX.Element;
128
128
 
129
129
  interface ArticleContentProps {
130
130
  title?: string;
package/dist/index.d.ts CHANGED
@@ -119,12 +119,12 @@ interface IAnyLevelBlock {
119
119
  }
120
120
  declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
121
121
 
122
- interface AnyQuestionsBlockProps {
122
+ interface AnyQuestionsBlockProps extends PropsWithChildren {
123
123
  worker?: IWorker | null;
124
124
  className?: string;
125
125
  title?: string;
126
126
  }
127
- declare const AnyQuestionsBlock: FC<PropsWithChildren & AnyQuestionsBlockProps>;
127
+ declare const AnyQuestionsBlock: ({ worker, className, children, }: AnyQuestionsBlockProps) => react_jsx_runtime.JSX.Element;
128
128
 
129
129
  interface ArticleContentProps {
130
130
  title?: string;