Renders a component with loading, content, and error states based on a condition.
The type of the payload.
The type of the condition result.
The rendered component.
Renders a component with loading, content, and error states based on a condition.