forked from danestves/slidev-theme-flayyer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
47 lines (35 loc) · 1.17 KB
/
notes.txt
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
<!--
# Navigation
Hover on the bottom-left corner to see the navigation's controls panel
### Keyboard Shortcuts
| | |
| ---------------------------------------------------- | --------------------------- |
| <kbd>space</kbd> / <kbd>tab</kbd> / <kbd>right</kbd> | next animation or slide |
| <kbd>left</kbd> | previous animation or slide |
| <kbd>up</kbd> | previous slide |
| <kbd>down</kbd> | next slide |
---
layout: image-right
image: 'https://source.unsplash.com/collection/94734566/1920x1080'
---
# Code
Use code snippets and get the highlighting directly!
```ts
interface User {
id: number;
firstName: string;
lastName: string;
role: string;
}
function updateUser(id: number, update: Partial<User>) {
const user = getUser(id);
const newUser = { ...user, ...update };
saveUser(id, newUser);
}
```
---
layout: center
class: "text-center"
---
# Learn More
[Documentations](https://sli.dev) / [GitHub Repo](https://github.com/slidevjs/slidev) -->