Review fixes: ordered doc-snippet check, one page and doc per ID, fade test clock, listen-address docs, false placeholder gap, Today param

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 14:14:38 -04:00
1 parent 3e011fa47f
commit af13fe3742
10 files changed
+98 -69

No files matched your search

+4 -2
View File
@@ -7,11 +7,13 @@
## 最小示例
```go
mujica.Tabs(c, &tab, []mujica.Tab{
if mujica.Tabs(c, &tab, []mujica.Tab{
{Label: "General", Panel: func() { ui.Text(c, "General settings") }},
{Label: "Fonts", Icon: icons.Must("italic"), Panel: func() { ui.Text(c, "Fonts") }},
{Label: "Archive", Disabled: true},
}, mujica.TabsOptions{Label: "Settings"})
}, mujica.TabsOptions{Label: "Settings"}).Changed() {
fmt.Println("tab", tab)
}
```
签名:`func Tabs(c *ui.Context, selected *int, tabs []Tab, opts TabsOptions) ChoiceResult`