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

487 B

ReportError (component)

Component to render when there is an error in a report component due to data not being loaded or being invalid.

Props

className

  • Type: String
  • Default: ''

Additional class name to style the component.

isError

  • Type: Boolean
  • Default: null

Boolean representing whether there was an error.

isEmpty

  • Type: Boolean
  • Default: null

Boolean representing whether the issue is that there is no data.