cortex-react-ui 0.1.170 → 0.1.172

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.
@@ -1,13 +1,15 @@
1
1
  import { WebcamProps } from 'react-webcam';
2
2
  declare const Camera: ({ onCapture, isOffline, mode, ...props }: CameraProps) => JSX.Element;
3
- declare type CameraProps = {
3
+ export declare type CameraProps = {
4
4
  onCapture: ({ fileStoreName, fileRowId, file }: TfileCapturedProps) => void;
5
5
  mode?: 'photo' | 'video';
6
6
  isOffline?: boolean;
7
7
  } & Partial<WebcamProps>;
8
- declare type TfileCapturedProps = {
8
+ export declare type TfileCapturedProps = {
9
9
  fileStoreName?: string | null;
10
10
  fileRowId?: number | null;
11
11
  file?: File | null;
12
+ imageSrc?: string | null;
13
+ videoSrc?: string | null;
12
14
  };
13
15
  export default Camera;
package/lib/index.d.ts CHANGED
@@ -76,6 +76,8 @@ declare type TfileCapturedProps = {
76
76
  fileStoreName?: string | null;
77
77
  fileRowId?: number | null;
78
78
  file?: File | null;
79
+ imageSrc?: string | null;
80
+ videoSrc?: string | null;
79
81
  };
80
82
 
81
83
  interface SelectedProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cortex-react-ui",
3
- "version": "0.1.170",
3
+ "version": "0.1.172",
4
4
  "description": "React UI",
5
5
  "author": "Anthony",
6
6
  "license": "MIT",