StateScreen
Component that shows a full screen for a certain state, like an empty state
PROPS
name | description | type | default |
---|---|---|---|
imageSource | The image source that's showing at the top. use an image that was required locally | union | |
title | To to show as the title | string | |
subtitle | Text to to show as the subtitle | any | |
ctaLabel | Text to to show in the "call to action" button | string | |
onCtaPress | Action handler for "call to action" button | func | |
testId | Use to identify the container in tests | string |
EXAMPLE
CODE SAMPLE
See example here.