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()
|
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 {
|
Item {
|
||||||
|
|
Loading…
Reference in New Issue