Props for the RewardUSD component that displays USD value of rewards.
Whether to show abbreviated numbers (default: true)
Whether to show the USD symbol (default: true)
Content to show when reward data is not available
Optional render function or React node for custom rendering of USD value
// Standard usage<Reward.USD abbreviated withSymbol fallback="N/A" />// With render prop<Reward.USD> {(usdValue) => <div>Value: ${usdValue}</div>}</Reward.USD> Copy
// Standard usage<Reward.USD abbreviated withSymbol fallback="N/A" />// With render prop<Reward.USD> {(usdValue) => <div>Value: ${usdValue}</div>}</Reward.USD>
Optional
Props for the RewardUSD component that displays USD value of rewards.
Param: abbreviated
Whether to show abbreviated numbers (default: true)
Param: withSymbol
Whether to show the USD symbol (default: true)
Param: fallback
Content to show when reward data is not available
Param: children
Optional render function or React node for custom rendering of USD value
Example