MCPcopy Create free account
hub / github.com/react/react / getScaleY

Function getScaleY

packages/react-art/src/ReactFiberConfigART.js:98–106  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

96}
97
98function getScaleY(props) {
99 if (props.scaleY != null) {
100 return props.scaleY;
101 } else if (props.scale != null) {
102 return props.scale;
103 } else {
104 return 1;
105 }
106}
107
108function isSameFont(oldFont, newFont) {
109 if (oldFont === newFont) {

Callers 1

applyNodePropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected