Appearance
TotalSalesCard
File:
@views/Widgets/TotalSalesCard
TotalSalesCard
is a highly customizable widget that displays total sales details.
Props
For TotalSalesCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
chartData | Object | - | Adds chart data. |
chartLoaded | Boolean | - | Checks if the chart is loaded. |
options | Array | - | options are displayed by a dropdown at the top-right corner of the card and each option is an object with title:String , id:any , events:Object properties. events property is an object that contains event handlers such as onClick function. |
className | String | - | Overrides or extends the component's styles. |
Children
The TotalSalesCard
widget provides children props that enable you to add extra content to the bottom of the card.
Children | Description |
---|---|
✔️ | Component’s content. |