Skip to content

Commit

Permalink
Update tailwind config for react navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
danstepanov committed Aug 25, 2024
1 parent 7b86143 commit 9e1ecf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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 { %>
Expand Down

0 comments on commit 9e1ecf6

Please sign in to comment.