feat(MintTokens/storybook): Added storybook page for mint tokens welcome page
Added storybook support for mint tokens welcome page.
This commit is contained in:
parent
c1e3050d06
commit
1e282cabba
|
@ -73,6 +73,10 @@ ListModel {
|
|||
title: "DidYouKnowSplashScreen"
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunityMintTokensSettingsPanel"
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "InviteFriendsToCommunityPopup"
|
||||
section: "Popups"
|
||||
|
|
|
@ -0,0 +1,48 @@
|
|||
import QtQuick 2.14
|
||||
import QtQuick.Controls 2.14
|
||||
|
||||
import AppLayouts.Chat.panels.communities 1.0
|
||||
import AppLayouts.Chat.stores 1.0
|
||||
import StatusQ.Core.Theme 0.1
|
||||
|
||||
import Storybook 1.0
|
||||
import Models 1.0
|
||||
|
||||
|
||||
SplitView {
|
||||
orientation: Qt.Vertical
|
||||
SplitView.fillWidth: true
|
||||
|
||||
Logs { id: logs }
|
||||
|
||||
Rectangle {
|
||||
SplitView.fillWidth: true
|
||||
SplitView.fillHeight: true
|
||||
color: Theme.palette.statusAppLayout.rightPanelBackgroundColor
|
||||
|
||||
CommunityMintTokensSettingsPanel {
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: 50
|
||||
transactionStore: QtObject {
|
||||
readonly property var currentAccount: QtObject {
|
||||
readonly property string address: "0x0000001"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
LogsAndControlsPanel {
|
||||
id: logsAndControlsPanel
|
||||
|
||||
SplitView.minimumHeight: 100
|
||||
SplitView.preferredHeight: 150
|
||||
|
||||
logsView.logText: logs.logText
|
||||
|
||||
CheckBox {
|
||||
id: isOwnerCheckBox
|
||||
|
||||
text: "Is owner"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue