Split into category packages; module github.com/ZacharyZhang-NY/MujicaUI
This commit is contained in:
1822 files changed
+24568
-21314
No files matched your search
@@ -7,8 +7,8 @@
|
||||
## 最小示例
|
||||
|
||||
```go
|
||||
mujica.ChatContainer(c, &chat, len(msgs), mujica.ChatContainerOptions{
|
||||
List: mujica.MessageListOptions{ID: func(i int) string { return msgs[i] }},
|
||||
chat.ChatContainer(c, &thread, len(msgs), chat.ChatContainerOptions{
|
||||
List: chat.MessageListOptions{ID: func(i int) string { return msgs[i] }},
|
||||
Input: func() { ui.Text(c, "Composer goes here") },
|
||||
}, func(i int) { ui.Text(c, msgs[i]) })
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user