﻿
# Response Control

HOC to control API Responses and data states

### Usage

```html
<m-response-control
  :status="response">
</m-response-control>
```

## Properties

| Name                  | Type             | Default          | Describe                                                                                                                                                                                    |
|-----------------------|------------------|------------------|------------------------------------------------------------------------|
| status                | String           | `'isLoading'`             | The status code |

## Slots

| Slot name            | Slot props         | Description                                                   |
|----------------------|--------------------|---------------------------------------------------------------|
| loading            | `''`               | To customize the loading screen                               |
| error             | `''`               | To customize the error message on any fail or any code        |
| empty              | `''`               | To customize the message when data is empty                   |
