@bigbinary/neeto-molecules 3.3.17 → 3.3.19

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": "@bigbinary/neeto-molecules",
3
- "version": "3.3.17",
3
+ "version": "3.3.19",
4
4
  "description": "A package of reusable molecular components for neeto products.",
5
5
  "repository": "git@github.com:bigbinary/neeto-molecules.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -738,6 +738,9 @@
738
738
  },
739
739
  "deviceIncompatibility": {
740
740
  "description": "The design tab is currently not supported in this screen size. Please switch to a screen larger than 768px wide."
741
+ },
742
+ "mobilePreview": {
743
+ "message": "The following section is a preview based on the changes you have made above."
741
744
  }
742
745
  }
743
746
  }
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ /**
3
+ *
4
+ * Can be used to show preview message for smaller viewports.
5
+ *
6
+ * @example
7
+ *
8
+ * import MobilePreviewHeader from "@bigbinary/neeto-molecules/MobilePreviewHeader";
9
+ *
10
+ * const App = () => <MobilePreviewHeader />;
11
+ * @endexample
12
+ */
13
+ const MobilePreviewHeader: React.FC<{
14
+ message?: React.ReactNode;
15
+ className?: string;
16
+ }>;
17
+ export default MobilePreviewHeader;