StateScreen

Component that shows a full screen for a certain state, like an empty state

PROPS

namedescriptiontypedefault
imageSourceThe image source that's showing at the top. use an image that was required locallyunion
titleTo to show as the titlestring
subtitleText to to show as the subtitleany
ctaLabelText to to show in the "call to action" buttonstring
onCtaPressAction handler for "call to action" buttonfunc
testIdUse to identify the container in testsstring

EXAMPLE

CODE SAMPLE

See example here.