@overmap-ai/forms 2.1.2 → 2.1.3-video-viewer.0

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.
@@ -0,0 +1,5 @@
1
+ export interface VideoViewerProps {
2
+ file: File;
3
+ onClose: () => void;
4
+ }
5
+ export declare const VideoViewer: import('react').MemoExoticComponent<(props: VideoViewerProps) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,2 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export declare const VideoViewerProvider: import('react').MemoExoticComponent<(props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element>;
@@ -0,0 +1,3 @@
1
+ import { VideoViewerConfig } from './typings';
2
+ export type VideoViewerContextType = (func: (close: () => void) => VideoViewerConfig) => void;
3
+ export declare const VideoViewerContext: import('react').Context<VideoViewerContextType>;
@@ -0,0 +1 @@
1
+ export declare const useVideoViewer: () => import('./context').VideoViewerContextType;
@@ -0,0 +1,4 @@
1
+ export * from './hooks';
2
+ export * from './typings';
3
+ export * from './VideoViewer';
4
+ export * from './VideoViewerProvider';
@@ -0,0 +1,4 @@
1
+ export interface VideoViewerConfig {
2
+ file: File;
3
+ onClose?: () => void;
4
+ }