diff --git a/packages/react-native/template/App.tsx b/packages/react-native/template/App.tsx index bf24c33164b8e9..125fe1b98eb3be 100644 --- a/packages/react-native/template/App.tsx +++ b/packages/react-native/template/App.tsx @@ -29,7 +29,7 @@ type SectionProps = PropsWithChildren<{ title: string; }>; -function Section({children, title}: SectionProps): JSX.Element { +function Section({children, title}: SectionProps): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; return ( @@ -55,7 +55,7 @@ function Section({children, title}: SectionProps): JSX.Element { ); } -function App(): JSX.Element { +function App(): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; const backgroundStyle = {