Lines Matching refs:width
5 const [{ height, width }, setLayout] = React.useState({
7 width: 1, property
12 … return getLinearGradientBackgroundImage(colors, locations, startPoint, endPoint, width, height);
13 }, [colors, locations, startPoint, endPoint, width, height]);
19 const { width, height } = event.nativeEvent.layout;
22 if (width !== oldLayout.width || height !== oldLayout.height) {
23 return { height, width };
35 export function getLinearGradientBackgroundImage(colors, locations, startPoint, endPoint, width = 1… argument
37 const angle = calculatePseudoAngle(width, height, startPoint, endPoint);
40 function calculatePseudoAngle(width, height, startPoint, endPoint) { argument
59 start[0] *= width;
60 end[0] *= width;