bitmovin-player-react-native
Version:
Official React Native bindings for Bitmovin's mobile Player SDKs.
20 lines (15 loc) • 442 B
text/typescript
import type { StyleProp, ViewStyle } from 'react-native';
export type OnLoadEventPayload = {
url: string;
};
export type BitmovinPlayerReactNativeModuleEvents = {
onChange: (params: ChangeEventPayload) => void;
};
export type ChangeEventPayload = {
value: string;
};
export type BitmovinPlayerReactNativeViewProps = {
url: string;
onLoad: (event: { nativeEvent: OnLoadEventPayload }) => void;
style?: StyleProp<ViewStyle>;
};