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

Function getScaleX

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

Source from the content-addressed store, hash-verified

86}
87
88function getScaleX(props) {
89 if (props.scaleX != null) {
90 return props.scaleX;
91 } else if (props.scale != null) {
92 return props.scale;
93 } else {
94 return 1;
95 }
96}
97
98function getScaleY(props) {
99 if (props.scaleY != null) {

Callers 1

applyNodePropsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected