@bigbinary/neeto-molecules 3.16.44 → 3.16.45

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.16.44",
3
+ "version": "3.16.45",
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>",
@@ -763,6 +763,7 @@
763
763
  },
764
764
  "shareRecording": {
765
765
  "title": "Share recording",
766
+ "preview": "Preview",
766
767
  "checkboxLabel": "Start at",
767
768
  "tooltipContent": "Copy link",
768
769
  "successTooltipContent": "Link copied"
@@ -32,6 +32,11 @@ import React from 'react';
32
32
  * isOpen={isOpen} // Boolean indicating if the pane is open
33
33
  * onClose={() => setIsOpen(false)} // Function to close the pane
34
34
  * isLoading={false}
35
+ * preview={({ currentPlaybackTime }) => (
36
+ * <img
37
+ * src={`https://example.com/recording/preview?t=${currentPlaybackTime}`}
38
+ * />
39
+ * )}
35
40
  * />
36
41
  * </>
37
42
  * );
@@ -80,6 +85,7 @@ declare const ShareRecordingPane: React.FC<{
80
85
  isOpen: boolean;
81
86
  onClose: Function;
82
87
  isLoading?: boolean;
88
+ preview?: React.ElementType;
83
89
  }>;
84
90
 
85
91
  export { ShareRecordingPane as default };