2019-08-29 21:41:21 +00:00
|
|
|
ReportError
|
|
|
|
===
|
2018-12-22 11:46:10 +00:00
|
|
|
|
|
|
|
Component to render when there is an error in a report component due to data
|
|
|
|
not being loaded or being invalid.
|
|
|
|
|
2019-08-29 21:41:21 +00:00
|
|
|
## Usage
|
2018-12-22 11:46:10 +00:00
|
|
|
|
2019-08-29 21:41:21 +00:00
|
|
|
```jsx
|
|
|
|
```
|
2018-12-22 11:46:10 +00:00
|
|
|
|
2019-08-29 21:41:21 +00:00
|
|
|
### Props
|
2018-12-22 11:46:10 +00:00
|
|
|
|
2019-08-29 21:41:21 +00:00
|
|
|
Name | Type | Default | Description
|
|
|
|
--- | --- | --- | ---
|
|
|
|
`className` | String | ``''`` | Additional class name to style the component
|
|
|
|
`isError` | Boolean | ``null`` | Boolean representing whether there was an error
|
|
|
|
`isEmpty` | Boolean | ``null`` | Boolean representing whether the issue is that there is no data
|