Skip to content

Commit

Permalink
fix: import React Dependency into Video / Sound files (#1828)
Browse files Browse the repository at this point in the history
  • Loading branch information
AWildmanPerchPeek committed Nov 24, 2022
1 parent 8a031bc commit 47f2e60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package/native-package/src/handlers/Sound.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import AudioVideoPlayer from '../optionalDependencies/Video';

export const Sound = {
Expand Down
2 changes: 2 additions & 0 deletions package/native-package/src/handlers/Video.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

import AudioVideoPlayer from '../optionalDependencies/Video';
export const Video = AudioVideoPlayer
? ({ onBuffer, onEnd, onLoad, onProgress, paused, repeat, style, uri, videoRef }) => (
Expand Down

0 comments on commit 47f2e60

Please sign in to comment.