How to set to automatically full width
safeimuslim opened this issue · comments
Hi, How to set to automatically full width
Maybe you can use Dimensions for getting the device width:
import { Dimensions } from 'react-native'
const {width, height} = Dimensions.get('window')
/* use on style */
<View style={{width}}></View>