Initial commit

Generated by create-expo-app 4.0.0.
This commit is contained in:
2026-06-17 15:44:12 -04:00
commit 8a7a8df477
34 changed files with 8307 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { Link } from 'expo-router';
import * as WebBrowser from 'expo-web-browser';
import type { ComponentProps } from 'react';
import { Platform } from 'react-native';
export function ExternalLink(props: Omit<ComponentProps<typeof Link>, 'href'> & { href: string }) {
return (
<Link
target="_blank"
{...props}
href={props.href}
onPress={(e) => {
if (Platform.OS !== 'web') {
// Prevent the default behavior of linking to the default browser on native.
e.preventDefault();
// Open the link in an in-app browser.
WebBrowser.openBrowserAsync(props.href as string);
}
}}
/>
);
}