mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 14:43:25 +00:00
32 lines
1015 B
TypeScript
32 lines
1015 B
TypeScript
import { globalStyles } from '../../styles/global';
|
|
import { Image, Text, View } from 'react-native';
|
|
import styles from './styles';
|
|
import { BoldText, RegularText } from '../Styled';
|
|
import { TMDB_POSTER_PATH } from '../../constants/General';
|
|
|
|
export default function Item() {
|
|
return (
|
|
<View style={styles.wrapper}>
|
|
<View style={styles.imageWrapper}>
|
|
<Image
|
|
source={{
|
|
uri: `${TMDB_POSTER_PATH}/w342//gdIrmf2DdY5mgN6ycVP0XlzKzbE.jpg`,
|
|
width: 200,
|
|
}}
|
|
style={styles.image}
|
|
/>
|
|
</View>
|
|
<BoldText style={globalStyles.textWhite}>Hamilton</BoldText>
|
|
<View style={styles.meta}>
|
|
<RegularText style={[globalStyles.textMuted, styles.smallText]}>
|
|
Movie
|
|
</RegularText>
|
|
<View style={[globalStyles.dotSeperator]}></View>
|
|
<RegularText style={[globalStyles.textMuted, styles.smallText]}>
|
|
2023
|
|
</RegularText>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|