import * as React from 'react' ; import { MaterialIcons as Icon } from '@expo/vector-icons' ; import { useThemeColor } from '../../../components/Themed' ; import { StyleSheet } from 'react-native' ; function PlayerIcon ( props ) { const primary = useThemeColor ( { } , 'primary' ) ; return < Icon size = { 50 } color = { primary } style = { styles . playerIcon } { ... props } />; } const styles = StyleSheet . create ( { playerIcon : { marginBottom : - 3 } , } ) ; export default PlayerIcon ;