Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for custom currency symbols #590

Merged
merged 3 commits into from
Aug 31, 2024

Conversation

sanchit3008
Copy link
Collaborator

@sanchit3008 sanchit3008 commented Aug 31, 2024

Resolves #589

  1. Adds a new optional currency prop for the Workbook - expects a currency symbol. Supports all major currency symbols. Default value if not specified is ¥. Will throw error on usage if invalid symbol is specified.
  2. Dynamic SVG for the currency icon in toolbar for $, €, £, ₹ and ¥. Fallback for others is ¥. More can be added on request.
  3. Dynamic text in formatting dropdown menu based on currency prop. Fallback is ¥.

@sanchit3008 sanchit3008 linked an issue Aug 31, 2024 that may be closed by this pull request
@sanchit3008 sanchit3008 merged commit 202aa69 into master Aug 31, 2024
2 checks passed
@sanchit3008 sanchit3008 deleted the 589-set-default-currency-symbol-in-settings branch August 31, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set default currency symbol in settings
1 participant