import { Link } from "expo-router";
import { StyleSheet, Text, View } from "react-native";

export default function Tab() {
  return (
    <View style={styles.container}>
      <Text>Jobs Screen.</Text>
      <Link
        href={{ pathname: "/jobs/[jobId]", params: { jobId: 123 } }}
        withAnchor
      >
        Go to detail
      </Link>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: "center",
    alignItems: "center",
  },
});
