1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-23 12:24:10 +00:00

fix: correct the label for the icon right button

This commit is contained in:
“axzilla” 2024-10-20 21:41:33 +02:00
parent 33b95f8119
commit 9f08a2e1bf

View File

@ -49,7 +49,7 @@ templ ButtonShowcase() {
IconLeft: icons.Rocket(icons.IconProps{Size: "16"}), IconLeft: icons.Rocket(icons.IconProps{Size: "16"}),
}) })
@components.Button(components.ButtonProps{ @components.Button(components.ButtonProps{
Text: "Icon Left", Text: "Icon Right",
IconRight: icons.Rocket(icons.IconProps{Size: "16"}), IconRight: icons.Rocket(icons.IconProps{Size: "16"}),
}) })
</div> </div>