react-native-css-interop
Advanced tools
Comparing version
@@ -10,3 +10,3 @@ "use strict"; | ||
const prop_mapping_1 = require("./runtime/native/prop-mapping"); | ||
const testing_library_1 = require("./testing-library"); | ||
const misc_1 = require("./runtime/native/misc"); | ||
function unstable_styled(component, mapping, interop = css_interop_1.defaultCSSInterop) { | ||
@@ -47,3 +47,3 @@ if (mapping) { | ||
const checkArray = (props) => props.some((prop) => { | ||
return Array.isArray(prop) ? checkArray(prop) : testing_library_1.styleMetaMap.has(prop); | ||
return Array.isArray(prop) ? checkArray(prop) : misc_1.styleMetaMap.has(prop); | ||
}); | ||
@@ -70,3 +70,3 @@ const interopComponent = { | ||
} | ||
else if (testing_library_1.styleMetaMap.has(target)) { | ||
else if (misc_1.styleMetaMap.has(target)) { | ||
return true; | ||
@@ -73,0 +73,0 @@ } |
{ | ||
"version": "0.0.0-20231103023602", | ||
"version": "0.0.0-20231103030100", | ||
"name": "react-native-css-interop", | ||
@@ -4,0 +4,0 @@ "description": "", |
Sorry, the diff of this file is not supported yet
399270
-0.01%