Skip to content

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:

PropTypeDefaultNote
titleString-Card title.
totalChangeNumber-Adds total change in percentage.
totalEarning[String, Number]-Adds total earnings stat.
chartDataObject-Adds chart data.
chartLoadedBoolean-Checks if the chart is loaded.
classNameString-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.

ChildrenDescription
✔️Component’s content.

COPYRIGHT