diff --git a/apps/common-app/src/examples/AudioStream/AudioContent.tsx b/apps/common-app/src/examples/AudioStream/AudioContent.tsx new file mode 100644 index 000000000..3c136ab7e --- /dev/null +++ b/apps/common-app/src/examples/AudioStream/AudioContent.tsx @@ -0,0 +1,38 @@ +import { useAudioTagContext } from 'react-native-audio-api/development/react'; +import { ActivityIndicator, Button, Text, View } from 'react-native'; +import VolumeSlider from './VolumeSlider'; +import { Spacer } from '../../components'; + +const AudioContent: React.FC = () => { + const { isReady, play, pause, playbackState, setMuted, muted } = useAudioTagContext(); + + return ( + + {!isReady ? ( + + ) : ( + + {playbackState} + +