Skip to content

Commit 583b0ad

Browse files
authored
Merge pull request #4 from serge-sky/prioritizesVideoDevices
Add optional prioritizesVideoDevices prop
2 parents bf05049 + 68176df commit 583b0ad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ios/RNAirPlayButtonManager.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ - (UIView *)view
1717

1818
RCT_EXPORT_VIEW_PROPERTY(activeTintColor, UIColor);
1919
RCT_EXPORT_VIEW_PROPERTY(tintColor, UIColor);
20+
RCT_EXPORT_VIEW_PROPERTY(prioritizesVideoDevices, BOOL);
2021

2122
@end

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { requireNativeComponent, ViewProps } from 'react-native';
33
type AirPlayButtonProps = ViewProps & {
44
activeTintColor?: string;
55
tintColor?: string;
6+
prioritizesVideoDevices?: boolean;
67
style?: React.CSSProperties;
78
};
89

0 commit comments

Comments
 (0)