fix: change babel imports to nativewind

This commit is contained in:
Mark Lawlor
2022-06-16 16:35:18 +10:00
parent 5ddeee64a0
commit 4e59f93daa
2 changed files with 2 additions and 5 deletions

View File

@@ -5,3 +5,4 @@ moti
solito
atrule
nextjs
nativewind

View File

@@ -121,11 +121,7 @@ export default function rootVisitor(
const bodyNode = path.node.body;
if (didTransform && !hasStyledComponentImport) {
prependImports(
bodyNode,
["StyledComponent"],
"tailwindcss-react-native"
);
prependImports(bodyNode, ["StyledComponent"], "nativewind");
}
const { output } = extractStyles(extractStylesOptions);