Advertisement
armadiazrino

ReminderDetailScreen.js

Jan 12th, 2020
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { View, ScrollView, Image, Text } from 'react-native';
  3.  
  4. export default class ReminderDetailScreen extends React.Component {
  5.   constructor(props) {
  6.     super(props);
  7.  
  8.     this.state = {
  9.       reminder: {},
  10.     };
  11.   }
  12.  
  13.   static navigationOptions = {
  14.     title: 'Detail Reminder',
  15.     headerStyle: {
  16.       backgroundColor: '#00B3A8',
  17.     },
  18.     headerTintColor: '#fff',
  19.     headerTitleStyle: {
  20.       fontWeight: 'bold',
  21.     },
  22.   };
  23.  
  24.   render() {
  25.     return (
  26.       <ScrollView contentContainerStyle={{ flexGrow: 1 }}>
  27.         <View style={{ flex: 1 }}>
  28.           <Image
  29.             source={require('../assets/img/clock_schedule.png')}
  30.             style={{ width: '100%', height: 150 }}
  31.             resizeMode={'contain'}
  32.           />
  33.           <View style={{ marginTop: 16 }} />
  34.           <View style={{ padding: 16 }}>
  35.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  36.               {'Nama Reminder'}
  37.             </Text>
  38.             <Text>{'Makan'}</Text>
  39.             <View
  40.               style={{
  41.                 borderBottomWidth: 1,
  42.                 marginVertical: 4,
  43.                 borderColor: '#999999',
  44.               }}
  45.             />
  46.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  47.               {'Tanggal Reminder'}
  48.             </Text>
  49.             <Text>{'19/12/2019'}</Text>
  50.             <View
  51.               style={{
  52.                 borderBottomWidth: 1,
  53.                 marginVertical: 4,
  54.                 borderColor: '#999999',
  55.               }}
  56.             />
  57.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  58.               {'Waktu Reminder'}
  59.             </Text>
  60.             <Text>{'12.00'}</Text>
  61.             <View
  62.               style={{
  63.                 borderBottomWidth: 1,
  64.                 marginVertical: 4,
  65.                 borderColor: '#999999',
  66.               }}
  67.             />
  68.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  69.               {'Prioritas Reminder'}
  70.             </Text>
  71.             <Text>{'Penting'}</Text>
  72.             <View
  73.               style={{
  74.                 borderBottomWidth: 1,
  75.                 marginVertical: 4,
  76.                 borderColor: '#999999',
  77.               }}
  78.             />
  79.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  80.               {'Tag Reminder'}
  81.             </Text>
  82.             <Text>{'Makan'}</Text>
  83.             <View
  84.               style={{
  85.                 borderBottomWidth: 1,
  86.                 marginVertical: 4,
  87.                 borderColor: '#999999',
  88.               }}
  89.             />
  90.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  91.               {'Frekuensi Reminder'}
  92.             </Text>
  93.             <Text>{'Tiap Hari'}</Text>
  94.             <View
  95.               style={{
  96.                 borderBottomWidth: 1,
  97.                 marginVertical: 4,
  98.                 borderColor: '#999999',
  99.               }}
  100.             />
  101.             <Text style={{ fontWeight: 'bold', fontSize: 16 }}>
  102.               {'Catatan Reminder'}
  103.             </Text>
  104.             <Text>{'Jangan Lupa Makan'}</Text>
  105.             <View
  106.               style={{
  107.                 borderBottomWidth: 1,
  108.                 marginVertical: 4,
  109.                 borderColor: '#999999',
  110.               }}
  111.             />
  112.           </View>
  113.         </View>
  114.       </ScrollView>
  115.     );
  116.   }
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement