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

Latest commit

 

History

History
18 lines (15 loc) · 364 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 364 Bytes

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