width match parent react native code example
Example: width 100% react native
import { Dimensions } from 'react-native';
width: ${(Dimensions.get('window').width)}px;
import { Dimensions } from 'react-native';
width: ${(Dimensions.get('window').width)}px;