refactor: basic example from class component to functional component (#3934)

* refactor: basic example from class component to functional component

* refactor: toast component path

* refactor: bufferConfig prop

* refacotr: import component path

* fix: seekbar issue on iOS
This commit is contained in:
Seyed Mostafa Hasani
2024-06-28 13:03:10 +03:30
committed by GitHub
parent b431d09e2f
commit d4f1648681
19 changed files with 802 additions and 723 deletions

View File

@@ -14,7 +14,7 @@ export interface VideoTrackSelectorType {
onValueChange: (arg0: string) => void;
}
const VideoTrackSelector = ({
export const VideoTrackSelector = ({
videoTracks,
selectedVideoTrack,
onValueChange,
@@ -60,5 +60,3 @@ const VideoTrackSelector = ({
</>
);
};
export default VideoTrackSelector;