import React from 'react';
import {RouteProp} from '@react-navigation/native';
import {StackNavigationProp} from '@react-navigation/stack';
import {RootStackParamList} from '../../routes';
import {Background, CenteredView} from '../../components';
import {Text} from 'react-native-animatable';

type CameraScreenRouteProp = RouteProp<RootStackParamList, 'Camera'>;
type CameraScreenNavigationProp = StackNavigationProp<
  RootStackParamList,
  'Camera'
>;
interface CameraProps {
  route: CameraScreenRouteProp;
  navigation: CameraScreenNavigationProp;
}

const Camera: React.FC<CameraProps> = ({}) => {
  return (
    <Background>
      <CenteredView>
        <Text>Camera!</Text>
      </CenteredView>
    </Background>
  );
};

export default Camera;
