feat: add secondary button
This commit is contained in:
+12
-5
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user