feat: implement CurrencyService for formatting and parsing currency values, update InputCurrency component, and add tests

This commit is contained in:
Firman Ramdhani
2026-01-26 15:52:20 +07:00
parent 0a7e3f081a
commit 0deaff6e18
6 changed files with 297 additions and 25 deletions
+3
View File
@@ -1,4 +1,5 @@
// import { DateService } from '@repo/utils';
// import { CurrencyService } from '@repo/utils';
import './main.css';
import { lazy, StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
@@ -6,6 +7,8 @@ const App = lazy(() => import('./apps'));
// DateService.setGlobalConfig('Asia/Jakarta');
// DateService.setGlobalConfig('Asia/Makassar');
// CurrencyService.setGlobalPrefix('IDR ');
createRoot(document.getElementById('app')!).render(
<StrictMode>
<App />