material: fix documentation of creating an icon

Signed-off-by: James Stanley <james@incoherency.co.uk>
This commit is contained in:
James Stanley
2024-01-16 14:46:48 +00:00
parent adba14c062
commit 40706d3782
+1 -1
View File
@@ -49,7 +49,7 @@
// though the underlying state is the same. A widget.Clickable can be drawn as a
// round icon button:
//
// icon := material.NewIcon(...)
// icon := widget.NewIcon(...)
//
// material.IconButton(theme, icon).Layout(gtx, button)
//