feat: add secondary button

This commit is contained in:
talksik
2025-04-11 13:15:50 -07:00
parent f7af24b2b3
commit d761ef4fd7
3 changed files with 35 additions and 5 deletions
+12 -5
View File
@@ -21,10 +21,17 @@ AppWindow {
AppLogo {}
AppPrimaryButton {
text: "Toggle theme"
onClicked: {
Theme.toggleTheme()
Row {
spacing: 5
AppPrimaryButton {
text: "Toggle theme"
onClicked: {
Theme.toggleTheme()
}
}
AppSecondaryButton {
text: "Secondary button"
}
}
@@ -51,7 +58,7 @@ AppWindow {
Switch {}
AppPrimaryButton {
AppSecondaryButton {
text: "Open message dialog"
onClicked: {
messageDialog.open()