1.0.13 • Published 5 years ago
react-native-airplay-menu v1.0.13
This library provides method to show AirPlay menu
Usage
<>
<TouchableOpacity
style={[styles.wrapper, styles.border]}
onPress={() => this.menuRef && this.menuRef.showMenu()}
>
<Text style={styles.button}>Listen in AirPods</Text>
</TouchableOpacity>
<AirPlay
ref={e => (this.menuRef = e)}
/>
</>