bitmovin-player-react-native
Version:
Official React Native bindings for Bitmovin's mobile Player SDKs.
18 lines • 524 B
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>;
};
//# sourceMappingURL=BitmovinPlayerReactNative.types.d.ts.map