react-bricks 3.1.8 → 3.1.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-bricks",
3
- "version": "3.1.8",
3
+ "version": "3.1.9",
4
4
  "description": "React Bricks is a CMS with visual editing based on React components for Next.js and Gatsby.",
5
5
  "keywords": [
6
6
  "react bricks",
package/react-bricks.d.ts CHANGED
@@ -584,14 +584,9 @@ declare const Image: FC<ImageProps>;
584
584
  */
585
585
  interface FileProps {
586
586
  propName: string;
587
- renderBlock: (props?: File) => JSX.Element;
587
+ renderBlock: (props: types.IFileSource | null) => JSX.Element;
588
588
  allowedExtensions?: string[];
589
589
  }
590
- interface File {
591
- name: string;
592
- size: string;
593
- url: string;
594
- }
595
590
  declare const File: React.FC<FileProps>;
596
591
 
597
592
  /**