diff --git a/.changeset/nativewind-home-layout.md b/.changeset/nativewind-home-layout.md new file mode 100644 index 00000000..a64bc714 --- /dev/null +++ b/.changeset/nativewind-home-layout.md @@ -0,0 +1,6 @@ +--- +'create-expo-stack': patch +'rn-new': patch +--- + +Fix Nativewind template layout: inset the Show Details button from the screen edges, constrain EditScreenInfo so its description text wraps instead of clipping, type TabBarIcon color as ColorValue for SDK 56 tabs, and only quote the rerun-hint project name when it needs shell quoting. diff --git a/cli/src/templates/base/components/TabBarIcon.tsx.ejs b/cli/src/templates/base/components/TabBarIcon.tsx.ejs index e75c9d3f..7da59c5d 100644 --- a/cli/src/templates/base/components/TabBarIcon.tsx.ejs +++ b/cli/src/templates/base/components/TabBarIcon.tsx.ejs @@ -1,9 +1,9 @@ import FontAwesome from '@expo/vector-icons/FontAwesome'; -import { StyleSheet } from 'react-native'; +import { ColorValue, StyleSheet } from 'react-native'; export const TabBarIcon = (props: { name: React.ComponentProps['name']; - color: string; + color: ColorValue; }) => { return ; }; diff --git a/cli/src/templates/packages/expo-router/stack/app/index.tsx.ejs b/cli/src/templates/packages/expo-router/stack/app/index.tsx.ejs index 7590c81f..5f78480d 100644 --- a/cli/src/templates/packages/expo-router/stack/app/index.tsx.ejs +++ b/cli/src/templates/packages/expo-router/stack/app/index.tsx.ejs @@ -33,6 +33,8 @@ export default function Home() { <% if (props.stylingPackage?.name === "unistyles") { %>