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
@@ -9,10 +9,10 @@
|
||||
```go
|
||||
var status []string
|
||||
view := func(c *ui.Context) {
|
||||
mujica.Use(c, mujica.Settings{})
|
||||
mujica.ChoiceChips(c, &status, []mujica.ToggleItem[string]{
|
||||
core.Use(c, core.Settings{})
|
||||
input.ChoiceChips(c, &status, []input.ToggleItem[string]{
|
||||
{Value: "open", Label: "Open"}, {Value: "closed", Label: "Closed"},
|
||||
}, mujica.ChoiceChipsOptions{Multiple: true, Label: "Status"})
|
||||
}, input.ChoiceChipsOptions{Multiple: true, Label: "Status"})
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user