mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2024-11-17 06:29:28 +08:00
Added a title header to better indicate whether user is viewing public or private notes
This commit is contained in:
parent
8be6d7b5de
commit
aaa5f8b64b
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@ export default function ViewToggle() {
|
|||
/>
|
||||
<p style={styles.text_small}>{switchLabel}</p>
|
||||
</div>
|
||||
<p style={styles.text_medium}>Public Notes</p>
|
||||
<PublicNotes />
|
||||
</div>
|
||||
);
|
||||
|
@ -59,6 +60,7 @@ export default function ViewToggle() {
|
|||
/>
|
||||
<p style={styles.text_small}>{switchLabel}</p>
|
||||
</div>
|
||||
<p style={styles.text_medium}>Private Notes</p>
|
||||
<Notes />
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue