|
package icons
|
|
|
|
import (
|
|
"gioui.org/widget"
|
|
"golang.org/x/exp/shiny/materialdesign/icons"
|
|
)
|
|
|
|
func mustIcon(data []byte) widget.Icon {
|
|
ic, err := widget.NewIcon(data)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
return *ic
|
|
}
|
|
|
|
var ActionUpdate = mustIcon(icons.ActionUpdate)
|