Appearance
TransactionsCard
File:
@views/Widgets/TransactionsCard
TransactionsCard
is a highly customizable widget that displays transactions.
Props
For TransactionsCard
widget, the following props are available:
Prop | Type | Default | Note |
---|---|---|---|
title | String | - | Card title. |
transactions | Array | - | Each item is an object with title:String , type:String , change:Number , color*:String , id:[Number, String] and icon:Object properties. More Info about icon here |
className | String | - | Overrides or extends the component's styles. |
Color
Utility colors are supported (e.g. primary
or danger
). You'll find a list of built-in classes on the src/styles/_vars.scss
page.