[Home](./index.md) > [react-native-bitmovin-player](./react-native-bitmovin-player.md) > [PlayerProps](./react-native-bitmovin-player.playerprops.md) ## PlayerProps interface Props for the player view. Signature: ```typescript interface PlayerProps extends PropsWithRef<{ config?: PlayerConfig; style?: ViewStyle; onEvent?: (event: Event) => void; onReady?: (event: Event) => void; onPlay?: (event: PlayEvent) => void; }> ``` Extends: PropsWithRef<{ config?: PlayerConfig; style?: ViewStyle; onEvent?: (event: Event) => void; onReady?: (event: Event) => void; onPlay?: (event: PlayEvent ## Properties | Property | Type | Description | | --- | --- | --- | | [config?](./react-native-bitmovin-player.playerprops.config.md) | PlayerConfig | (Optional) | | [onEvent?](./react-native-bitmovin-player.playerprops.onevent.md) | (event: Event) => void | (Optional) | | [onPlay?](./react-native-bitmovin-player.playerprops.onplay.md) | (event: PlayEvent) => void | (Optional) | | [onReady?](./react-native-bitmovin-player.playerprops.onready.md) | (event: Event) => void | (Optional) | | [style?](./react-native-bitmovin-player.playerprops.style.md) | ViewStyle | (Optional) |