mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-18 17:49:00 +00:00
chore(Storybook): Add label to Figma preview window when empty
This commit is contained in:
parent
fd5e8127c7
commit
a567910f3b
@ -36,6 +36,16 @@ ApplicationWindow {
|
||||
topSwipeView.incrementCurrentIndex()
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
anchors.fill: parent
|
||||
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
|
||||
visible: grid.count === 0
|
||||
text: "To add a design, put a link to Figma directly in the Storybook's page code as a comment."
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Loading…
x
Reference in New Issue
Block a user