StatefulComponent 📌

This is a swiss army knife component. Intended to be used as a single source of UI state management. It shows empty, loading, error or data states based on the given props.

System Component 📌

This component is shipped with BlueBase Core.

Usage

<StatefulComponent data={data} loading={true} delay={200} timeout={10000}>
 <Text>Content</Text>
</StatefulComponent>

Properties

prop

type

required

default

description

testID

string

no

-

Used to locate this view in end-to-end tests.

Last updated