Skip to content

Commit

Permalink
update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
unldenis committed Feb 1, 2024
1 parent 95e3241 commit a7090cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ val clickCount = mutableStateOf(0) // can be any type

val holo = hologram(HologramKey(plugin, "unique-id-holo"), location) {
textline("{}!", "Static")
textline("Dynamic: {}", clickCount)
textline("Count: {}", clickCount)
clickable("Click me", 0.5f, 5f).onClick { clickCount.set(clickCount.get() + 1)}
}

Expand Down

0 comments on commit a7090cd

Please sign in to comment.