Fakultas Ilmu Komputer UI

NotificationPage.jsx 833 Bytes
Newer Older
1
import React from 'react';
2
import PropTypes from 'prop-types';
3
4
5
6
7
import { Segment } from 'semantic-ui-react';
import Notification from './components/Notification';

export default class NotificationPage extends React.Component {
  static propTypes = {
MADE WIRA DHANAR SANTIKA's avatar
MADE WIRA DHANAR SANTIKA committed
8
    user: PropTypes.object,
9
10
11
12
  };

  constructor(props) {
    super(props);
13
  }
14

MADE WIRA DHANAR SANTIKA's avatar
MADE WIRA DHANAR SANTIKA committed
15
  render() {
16
    return (
MADE WIRA DHANAR SANTIKA's avatar
MADE WIRA DHANAR SANTIKA committed
17
18
19
20
21
22
23
24
25
26
27
28
29
30
      <div className="notificationPage">
        <Segment className="notifikasi">
          <Notification 
            title="Your Application Has Been Rejected" 
            text="Tutuplapak has rejected your applications" 
            timestamp="2019-10-10T13:00:00"
          />
          <Notification 
            title="Lorem Ipsum" 
            text="Dolor Sit Amet" 
            timestamp="1970-01-01T06:00:00"
          />
        </Segment>
      </div>
31
    );
32
33
  }
}