See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
import { Alert, Platform } from "react-native"; | |
type button = { | |
text: string; | |
onPress: () => void; | |
style?: "default" | "cancel" | "destructive" | undefined; | |
} | |
export default function callAlert(title: string, message: string, buttons?: button[]) { | |
if (Platform.OS === 'web') { |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \ -m"<optional footer>"
import * as React from 'react'; | |
import { WebView } from 'react-native-webview'; | |
import { StyleSheet } from 'react-native'; | |
import Constants from 'expo-constants'; | |
// the URL of the PDF file must end with '.pdf' to work | |
const bookURL = "http://www.book-url-example.pdf"; | |
export default function SimplePDFViewer() { | |
return ( |