timepill-app/src/page/NotificationHistoryPage.js
2019-07-06 21:27:29 +08:00

41 lines
953 B
JavaScript

import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View} from 'react-native';
import {Navigation} from 'react-native-navigation';
import Color from '../style/color';
import {Icon} from '../style/icon';
import NotificationList from '../component/notification/notificationList';
export default class NotificationHistoryPage extends Component {
constructor(props) {
super(props);
Navigation.events().bindComponent(this);
}
static options(passProps) {
return {
topBar: {
title: {
text: '提醒历史'
}
}
};
}
render() {
return (
<View style={localStyle.container}>
<NotificationList isHistory={true} isSetRead={false} {...this.props}></NotificationList>
</View>
);
}
}
const localStyle = StyleSheet.create({
container: {
flex: 1
}
});