File size: 1,546 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
```jsx
<NotificationTray
  notificationsObjects={[
    {
      avatarURL: "demo/faces/male/41.jpg",
      message: (
        <React.Fragment>
          <strong>Nathan</strong> pushed new commit: Fix page load performance
          issue.
        </React.Fragment>
      ),
      time: "10 minutes ago",
    },
    {
      avatarURL: "demo/faces/female/1.jpg",
      message: (
        <React.Fragment>
          <strong>Alice</strong> started new task: Tabler UI design.
        </React.Fragment>
      ),
      time: "1 hour ago",
    },
    {
      avatarURL: "demo/faces/female/18.jpg",
      message: (
        <React.Fragment>
          <strong>Rose</strong> deployed new version of NodeJS REST Api // V3
        </React.Fragment>
      ),
      time: "2 hours ago",
    },
  ]}
/>
```

```jsx
<NotificationTray unread={true}>
  <Notification
    avatarURL="demo/faces/male/41.jpg"
    message={
      <React.Fragment>
        <strong>Nathan</strong> pushed new commit: Fix page load performance
        issue.
      </React.Fragment>
    }
    time="10 minutes ago"
  />
  <Notification
    avatarURL="demo/faces/female/1.jpg"
    message={
      <React.Fragment>
        <strong>Alice</strong> started new task: Tabler UI design.
      </React.Fragment>
    }
    time="1 hour ago"
  />
  <Notification
    avatarURL="demo/faces/female/18.jpg"
    message={
      <React.Fragment>
        <strong>Rose</strong> deployed new version of NodeJS REST Api // V3
      </React.Fragment>
    }
    time="2 hours ago"
  />
</NotificationTray>
```