Porcentaje de ancho React Native

// Firstly, import Dimensions, and save the window's width and height 
import {Dimensions} from "react-native";

var width = Dimensions.get("window").width; 
var height = Dimensions.get("window").height; 

// Then inside your stylesheet you can use something like this:
width: width * 0.9, // Sets width to 90%
codewi