expo-video
Version:
A cross-platform, performant video component for React Native and Expo with Web support
40 lines (34 loc) • 933 B
text/typescript
import type { ColorValue, ViewProps } from 'react-native';
export interface VideoAirPlayButtonProps extends Omit<ViewProps, 'children'> {
/**
* The color of the button icon while AirPlay sharing is not active.
*
* @default undefined
* @platform ios
*/
tint?: ColorValue;
/**
* The color of the button icon while AirPlay sharing is active.
*
* @default undefined
* @platform ios
*/
activeTint?: ColorValue;
/**
* Determines whether the AirPlay device selection popup should show video outputs first.
*
* @default true
* @platform ios
*/
prioritizeVideoDevices?: boolean;
/**
* A callback called when the AirPlay route selection popup is about to show.
* @platform ios
*/
onBeginPresentingRoutes?: () => void;
/**
* A callback called when the AirPlay route selection popup has disappeared.
* @platform ios
*/
onEndPresentingRoutes?: () => void;
}