{
try {
@@ -86,12 +91,17 @@ function WalletFields ({ wallet: { config, fields } }) {
label: (
{label}
+ {/* help can be a string or object to customize the label */}
{help && (
-
- {help}
+
+ {help.text || help}
)}
- {optional && optional}
+ {optional && (
+
+ {typeof optional === 'boolean' ? 'optional' : optional}
+
+ )}
),
required: !optional,