Skip to content

Commit 8a27f75

Browse files
Add a loading gif
1 parent 315537a commit 8a27f75

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
# Examples
1212
The full code for the examples can be viewed [here](https://github.com/dylanwatsonsoftware/bobatea/blob/main/sample/src/main/kotlin/com/example/App.kt)
1313

14+
### Loading
15+
<img src="https://raw.githubusercontent.com/dylanwatsonsoftware/bobatea/refs/heads/main/images/loading.gif" /><br/>
16+
```kotlin
17+
runLoading("Loading yo!") {
18+
Thread.sleep(10000)
19+
}
20+
```
21+
1422
### Multi-select
1523
<img src="https://raw.githubusercontent.com/dylanwatsonsoftware/bobatea/refs/heads/main/images/multiselect.gif" /><br/>
1624
```kotlin

images/loading.gif

2.44 KB
Loading

0 commit comments

Comments
 (0)