Skip to content

Commit aaaa01e

Browse files
marklawloractions-user
authored andcommitted
Prettified Code!
1 parent 90c531f commit aaaa01e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/nativewind/src/tailwind/index.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ module.exports = Object.assign(
22
() => {
33
// Check if this file is being loaded by an editor with Tailwind CSS IntelliSense (e.g., VS Code).
44
// 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;
66
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"
89
? require("./web").default
9-
: require("./native").default
10+
: require("./native").default;
1011
},
1112
{
1213
nativewind: true,

packages/react-native-css-interop/src/runtime/third-party-libs/react-native-safe-area-context.native.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {
77
type PropsWithChildren,
88
} from "react";
99
import { Platform } from "react-native";
10+
1011
import { VariableContext, VariableContextValue } from "../native/styles";
1112

1213
type SafeAreaLibraryTypes = typeof import("react-native-safe-area-context");

0 commit comments

Comments
 (0)