react width 100% not work 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;