-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[notification-refactor] make empty view into a component
- Loading branch information
Le Zheng
committed
Aug 9, 2017
1 parent
5ab7bfc
commit 9f22eec
Showing
2 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/containers/Header/NotificationsTray/EmptyView/index.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import styles from '../style.postcss'; | ||
import React from 'react'; | ||
|
||
const EmptyView = () => <div className={styles.NotificationsTray_popup_empty}> | ||
<h1>Hello!</h1> | ||
<p>You don't have any notifications yet.</p> | ||
<aside>New notifications will appear here when <br /> | ||
teachers add internal notes for your students.</aside> | ||
</div>; | ||
|
||
export default EmptyView; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters