import { NativeStackScreenProps } from '@react-navigation/native-stack';
import React from 'react';
import { RootStackParamList } from '../navigation/types';
import { IssueDetailContent } from './detail/IssueDetailContent';

type Props = NativeStackScreenProps<RootStackParamList, 'IssueDetail'>;

export function IssueDetailScreen({ route }: Props) {
  return <IssueDetailContent issueId={route.params.issueId} />;
}
