import {} from "@wfp/react"; () => { const action = () => {}; return ( <ak maximumFractionDigits={3} minimumFractionDigits={3} type="num" > 123456.12 </ak> ); };
ReactNode
The value which should be displayed
string |number
Only used for type Percentage will divide value/from string, float
"thousand" |"million" |"billion" |"auto"
The interface of the input value
boolean
Hide the Unit if it's value is zero.
number
The minimum number of fraction digits to use. Possible values are from 0 to 20. Only used on numeric types
The maximum number of fraction digits to use. Possible values are from 0 to 20. Only used on numeric types
A value between 1-21, The maximum number of significant digits to use. Possible values are from 1 to 21; the default is minimumSignificantDigits.
Formats the Unit output into a single-line string
string
A string with a BCP 47 language code, or an array of language codes. For the general form and interpretation of the locale argument see the toLocaleString on developer.mozilla.org page.
Render output as svg text
"none" |"usd" |"partners" |"beneficiaries" |"households" |"months" |"mt" |"metricTons" |"kg" |"num" |"yearMonth" |"level" |"people" |"countries" |"percentage"
The unit type