Function AccountState
-
AccountState(
__namedParameters: {
empty?: string;
error?: string | null;
loading?: boolean;
retry?: () => void;
},
): ElementParameters
- __namedParameters: { empty?: string; error?: string | null; loading?: boolean; retry?: () => void }
-
Optionalempty?: stringCustomer-visible empty state message. Optional; omitted unless supplied by the host or backend.
-
Optionalerror?: string | nullCustomer-visible error or error presentation flag. Optional; omitted unless supplied by the host or backend.
-
Optionalloading?: booleanWhether an asynchronous read is pending. Optional; omitted unless supplied by the host or backend.
-
Optionalretry?: () => voidRetry a failed read. Optional; omitted unless supplied by the host or backend.
-
Returns Element
- __namedParameters: { empty?: string; error?: string | null; loading?: boolean; retry?: () => void }
Render loading, error, retry or empty account state.