File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
react-native-css-interop/src/runtime/third-party-libs Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ module.exports = Object.assign(
2
2
( ) => {
3
3
// Check if this file is being loaded by an editor with Tailwind CSS IntelliSense (e.g., VS Code).
4
4
// If so, load the `native` part so that features implemented in `native` (like `p-safe`) can be auto-completed in the editor.
5
- const isTailwindCSSIntelliSenseMode = ' TAILWIND_MODE' in process . env ;
5
+ const isTailwindCSSIntelliSenseMode = " TAILWIND_MODE" in process . env ;
6
6
if ( isTailwindCSSIntelliSenseMode ) return require ( "./native" ) . default ;
7
- return process . env . NATIVEWIND_OS === undefined || process . env . NATIVEWIND_OS === "web"
7
+ return process . env . NATIVEWIND_OS === undefined ||
8
+ process . env . NATIVEWIND_OS === "web"
8
9
? require ( "./web" ) . default
9
- : require ( "./native" ) . default
10
+ : require ( "./native" ) . default ;
10
11
} ,
11
12
{
12
13
nativewind : true ,
Original file line number Diff line number Diff line change 7
7
type PropsWithChildren ,
8
8
} from "react" ;
9
9
import { Platform } from "react-native" ;
10
+
10
11
import { VariableContext , VariableContextValue } from "../native/styles" ;
11
12
12
13
type SafeAreaLibraryTypes = typeof import ( "react-native-safe-area-context" ) ;
You can’t perform that action at this time.
0 commit comments