StateScreen
Component that shows a full screen for a certain state, like an empty state
(code example)
#
Usage<StateScreen title={'Title'} subtitle={'Subtitle'} ctaLabel={'Done'} imageSource={source}/>
#
API#
ctaLabelText to to show in the CTA button
string
#
imageSourceThe image source that's showing at the top. use an image that was required locally
ImageURISource
#
onCtaPressAction handler for CTA button
() => void
#
testIDUse to identify the container in tests
string
#
titleTo to show as the title
string