You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/components/NumberWithSymbolForm.tsx
+31-6Lines changed: 31 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,14 @@ type NumberWithSymbolFormProps = {
106
106
107
107
/** Callback when currency button is pressed */
108
108
onCurrencyButtonPress?: ()=>void;
109
+
110
+
/**
111
+
* Label on the trailing dropdown button (e.g. currency code). When set, used instead of `currency` so the same control can show a unit or other suffix.
112
+
*/
113
+
currencyButtonLabel?: string;
114
+
115
+
/** Accessibility label for the trailing dropdown button (defaults to currency-based copy when unset) */
0 commit comments