File tree Expand file tree Collapse file tree 8 files changed +14
-43
lines changed
Expand file tree Collapse file tree 8 files changed +14
-43
lines changed Original file line number Diff line number Diff line change 1- # react-native-airplay-cast
1+ # react-native-airplay-button
22
33Stream audio or video to AirPlay-enabled devices with a customizable AirPlay button.
44
@@ -7,7 +7,7 @@ Stream audio or video to AirPlay-enabled devices with a customizable AirPlay but
77## Installation
88
99``` sh
10- npm install react-native-airplay-cast --save
10+ npm install react-native-airplay-button --save
1111
1212```
1313
@@ -17,12 +17,12 @@ Run `npx pod-install`. Linking is not required in React Native 0.60 and above.
1717
1818** React Native 0.59 and below**
1919
20- Run ` react-native link react-native-airplay-cast ` to link the react-native-airplay-cast library.
20+ Run ` react-native link react-native-airplay-button ` to link the react-native-airplay-button library.
2121
2222## Usage
2323
2424``` js
25- import { AirPlayButton } from " react-native-airplay-cast " ;
25+ import AirPlayButton from " react-native-airplay-button " ;
2626
2727< AirPlayButton
2828 activeTintColor= " blue"
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
22import { StyleSheet , View } from 'react-native' ;
3- import { AirPlayButton } from 'react-native-airplay-cast ' ;
3+ import AirPlayButton from 'react-native-airplay-button ' ;
44
55const systemRed = 'rgb(255, 59, 48)' ;
66
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
2- "name" : " react-native-airplay-cast " ,
3- "version" : " 1.0.2 " ,
2+ "name" : " react-native-airplay-button " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " Stream audio or video to AirPlay-enabled devices with a customizable AirPlay button" ,
55 "main" : " lib/commonjs/index" ,
66 "module" : " lib/module/index" ,
1212 " lib" ,
1313 " ios" ,
1414 " cpp" ,
15- " react-native-airplay-cast .podspec" ,
15+ " react-native-airplay-button .podspec" ,
1616 " !lib/typescript/example" ,
1717 " !**/__tests__" ,
1818 " !**/__fixtures__" ,
3232 " react-native" ,
3333 " ios"
3434 ],
35- "repository" : " https://github.com/dylancom/react-native-airplay-cast " ,
35+ "repository" : " https://github.com/dylancom/react-native-airplay-button " ,
3636 "author" :
" Dylan Companjen <[email protected] > (https://github.com/dylancom)" ,
3737 "license" : " MIT" ,
3838 "bugs" : {
39- "url" : " https://github.com/dylancom/react-native-airplay-cast /issues"
39+ "url" : " https://github.com/dylancom/react-native-airplay-button /issues"
4040 },
41- "homepage" : " https://github.com/dylancom/react-native-airplay-cast #readme" ,
41+ "homepage" : " https://github.com/dylancom/react-native-airplay-button #readme" ,
4242 "devDependencies" : {
4343 "@commitlint/config-conventional" : " ^8.3.4" ,
4444 "@react-native-community/bob" : " ^0.16.2" ,
File renamed without changes.
Original file line number Diff line number Diff line change 11import { requireNativeComponent , ViewProps } from 'react-native' ;
22
3- // type AirPlayCastType = {
4- // };
5-
6- // const { AirPlayCast } = NativeModules;
7-
83type AirPlayButtonProps = ViewProps & {
94 activeTintColor ?: string ;
105 tintColor ?: string ;
116 style ?: React . CSSProperties ;
127} ;
138
14- export const AirPlayButton = requireNativeComponent < AirPlayButtonProps > (
9+ const AirPlayButton = requireNativeComponent < AirPlayButtonProps > (
1510 'RNAirPlayButton'
1611) ;
1712
18- // export default AirPlayCast as AirPlayCastType ;
13+ export default AirPlayButton ;
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "baseUrl" : " ." ,
44 "paths" : {
5- "react-native-airplay-cast " : [" ./src/index" ]
5+ "react-native-airplay-button " : [" ./src/index" ]
66 },
77 "allowUnreachableCode" : false ,
88 "allowUnusedLabels" : false ,
You can’t perform that action at this time.
0 commit comments