From 9e1ecf696def618957c1522f2169f71636095f2e Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 25 Aug 2024 16:07:27 -0700 Subject: [PATCH] Update tailwind config for react navigation --- cli/src/templates/packages/nativewind/tailwind.config.js.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/templates/packages/nativewind/tailwind.config.js.ejs b/cli/src/templates/packages/nativewind/tailwind.config.js.ejs index 2325b494..15341980 100644 --- a/cli/src/templates/packages/nativewind/tailwind.config.js.ejs +++ b/cli/src/templates/packages/nativewind/tailwind.config.js.ejs @@ -1,7 +1,7 @@ /** @type {import('tailwindcss').Config} */ module.exports = { <% if (props.navigationPackage?.name === "react-navigation") { %> - content: ["./App.{js,ts,tsx}", "./components/**/*.{js,ts,tsx}", "./screens/**/*.{js,ts,tsx}, "./navigation/**/*.{js,ts,tsx}""], + content: ["./App.{js,ts,tsx}", "./components/**/*.{js,ts,tsx}", "./screens/**/*.{js,ts,tsx}", "./navigation/**/*.{js,ts,tsx}"], <% } else if (props.navigationPackage?.name === "expo-router") { %> content: ["./app/**/*.{js,ts,tsx}", "./components/**/*.{js,ts,tsx}"], <% } else { %>