Untitled
unknown
plain_text
2 years ago
609 B
2
Indexable
import React, { Component } from 'react'; import { View, Text } from 'react-native'; import RadioPlayer from 'react-native-radio-player'; class RadioNineApp extends Component { render() { return ( <View> <Text>Radio Nine Network</Text> <RadioPlayer url="http://streamurl.com/radionine" onBuffer={() => console.log('Buffering...')} onEnd={() => console.log('Stream ended')} onError={(error) => console.log(`Error: ${error}`)} style={{ height: 50, width: '100%' }} /> </View> ); } } export default RadioNineApp;
Editor is loading...