react-native-airplay-menu

1.0.13 • Public • Published

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)}
    />
</>

Package Sidebar

Install

npm i react-native-airplay-menu

Weekly Downloads

14

Version

1.0.13

License

ISC

Unpacked Size

14.7 kB

Total Files

10

Last publish

Collaborators

  • osxfcn