app/pb_kits/playbook/pb_currency/docs/_currency_props_swift
Props
Name | Type | Description | Default | Values |
---|---|---|---|---|
amount | String |
Allows user to enter a currency amount | ||
decimalAmount | String |
Allows user to enter a decimal amount | ||
label | String |
Allows user to a descriptive label value | ||
size | PBFont |
Allows user to choose the size of the amount that is being displayed | .title4 |
title4 title3 title4 |
symbol | String |
A string value used to produce the desired currency symbol | ||
unit | String |
Allows user to add a unit of measure instead of a decimal amount | ||
alignment | Alignment |
Sets alignment of content | .leading |
leading center trailing |
isEmphasized | Bool |
Determines whether or not the currency that is being displayed is emphasized | false |
true false |
hasUnit | Bool |
Determines whether or not the currency has a decimal value or a unit of measure | false |
true false |