Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

gazedash/react-native-airplay-menu

Repository files navigation

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

About

RN module to open AirPlay menu imperatively

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •