import * as React from 'react' ; import { StyleSheet } from 'src/styles' ; import { Button } from './ui' ; export const PlayButton = ( { onPress } ) => { const handlePress = ( ) => onPress ( ) ; return ( < Button onPress = { handlePress } style = { s . btn } textStyle = { s . text } title = { 'PLAY' } / > ) ; } ; const s = StyleSheet . create ( { btn : { backgroundColor : StyleSheet . theme . primary , minWidth : 220 , } , text : { fontWeight : 'bold' , letterSpacing : 2 , } , } ) ;