Appearance
TotalEarningsCard
File:
@views/Widgets/TotalEarningsCard
TotalEarningsCard
is a highly customizable widget that displays total earnings details.
Props
For TotalEarningsCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
totalChange | Number | - | Adds total change in percentage. |
totalEarning | [String, Number] | - | Adds total earnings stat. |
chartData | Object | - | Adds chart data. |
chartLoaded | Boolean | - | Checks if the chart is loaded. |
className | String | - | Overrides or extends the component's styles. |
Children
The TotalEarningsCard
widget provides children props that enable you to add extra content to the bottom of the card.
Children | Description |
---|---|
✔️ | Component’s content. |