@bigbinary/neeto-molecules 1.0.34 → 1.0.36

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": "1.0.34",
3
+ "version": "1.0.36",
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>",
@@ -280,6 +280,10 @@
280
280
  "currentIpTitle": "Your current IP is",
281
281
  "currentIpDescription": "Your current IP will be added to the allowed IP range by default. You will not be able to save the IP settings without your current IP address on the list"
282
282
  },
283
+ "integrationWalkthroughModal": {
284
+ "header": "Check how it behaves",
285
+ "continue": "Continue"
286
+ },
283
287
  "publishBlock": {
284
288
  "viewDraftVersion": "View draft version",
285
289
  "deleteDraftVersion": "Delete draft version. It'll not impact the published version",
@@ -0,0 +1,29 @@
1
+ import React from "react";
2
+ /**
3
+ *
4
+ * A component used to display walkthrough video of integration.
5
+ *
6
+ * @example
7
+ *
8
+ * import React, { useState } from "react";
9
+ * import IntegrationWalkthroughModal from "@bigbinary/neeto-molecules/IntegrationWalkthroughModal";
10
+ *
11
+ * const Finish = () => {
12
+ * const [isModalOpen, setIsModalOpen] = useState(true);
13
+ *
14
+ * return (
15
+ * <IntegrationWalkthroughModal
16
+ * isOpen={isModalOpen}
17
+ * onClose={() => setIsModalOpen(false)}
18
+ * videoUrl="https://user-images.githubusercontent.com/39831309/232906732-43e139ac-4af8-4a59-9f4f-e96ebf436f75.mov"
19
+ * />
20
+ * );
21
+ * };
22
+ * @endexample
23
+ */
24
+ const IntegrationWalkthroughModal: React.FC<{
25
+ videoUrl: string;
26
+ isOpen: boolean;
27
+ onClose: Function;
28
+ }>;
29
+ export default IntegrationWalkthroughModal;