diff --git a/.cspell/project.txt b/.cspell/project.txt index b553344..fe3efe4 100644 --- a/.cspell/project.txt +++ b/.cspell/project.txt @@ -5,3 +5,4 @@ moti solito atrule nextjs +nativewind diff --git a/src/babel/root-visitor.ts b/src/babel/root-visitor.ts index ca0847f..d957899 100644 --- a/src/babel/root-visitor.ts +++ b/src/babel/root-visitor.ts @@ -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);