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

@@ -11,7 +11,7 @@ export interface TextTrackSelectorType {
textTracksSelectionBy: string;
}
const TextTrackSelector = ({
export const TextTrackSelector = ({
textTracks,
selectedTextTrack,
onValueChange,
@@ -60,5 +60,3 @@ const TextTrackSelector = ({
</>
);
};
export default TextTrackSelector;