StateScreen
Component that shows a full screen for a certain state, like an empty state
(code example)
Usageβ
Live Editor
<StateScreen title={'Title'} subtitle={'Subtitle'} ctaLabel={'Done'} imageSource={source} />
Result
Loading...
APIβ
ctaLabelβ
Text to to show in the CTA button
string
imageSourceβ
The image source that's showing at the top. use an image that was required locally
ImageURISource
onCtaPressβ
Action handler for CTA button
() => void
testIDβ
Use to identify the container in tests
string
titleβ
To to show as the title
string