woocommerce/plugins/woocommerce-admin/docs/components/analytics/report-error.md

19 lines
476 B
Markdown
Raw Normal View History

ReportError
===
Component to render when there is an error in a report component due to data
not being loaded or being invalid.
## Usage
```jsx
```
### Props
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