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

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

export function FeatureDetailScreen({ route }: Props) {
  return <FeatureDetailContent featureId={route.params.featureId} />;
}
