We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSX.Element
React.JSX.Element
1 parent 4a2299c commit dccce69Copy full SHA for dccce69
packages/react-native/template/App.tsx
@@ -29,7 +29,7 @@ type SectionProps = PropsWithChildren<{
29
title: string;
30
}>;
31
32
-function Section({children, title}: SectionProps): JSX.Element {
+function Section({children, title}: SectionProps): React.JSX.Element {
33
const isDarkMode = useColorScheme() === 'dark';
34
return (
35
<View style={styles.sectionContainer}>
@@ -55,7 +55,7 @@ function Section({children, title}: SectionProps): JSX.Element {
55
);
56
}
57
58
-function App(): JSX.Element {
+function App(): React.JSX.Element {
59
60
61
const backgroundStyle = {
0 commit comments