Revenue
Info
fun RevenueInfo(viewModel: RevenueRelatedScreenViewModel, revenue: Revenue, customTitle: String? = null, dateHeader: StringResource = Res.string.date, pattern: String = COMPLETE_EUROPEAN_DATE_PATTERN)
Used to display the information of a Revenue such title, value, etc
Parameters
view Model
The support viewmodel for the screen
revenue
The revenue from retrieve the information to display
custom Title
Value of a custom title to use for the component
date Header
The header of the date
pattern
The pattern to use to format the long value