18 lines
360 B
TypeScript
18 lines
360 B
TypeScript
|
|
/**
|
|
* UI Store for managing global UI states
|
|
*/
|
|
class UIStore {
|
|
private _isExchangeRateDialogOpen = $state(false);
|
|
|
|
get isExchangeRateDialogOpen() {
|
|
return this._isExchangeRateDialogOpen;
|
|
}
|
|
|
|
set isExchangeRateDialogOpen(value: boolean) {
|
|
this._isExchangeRateDialogOpen = value;
|
|
}
|
|
}
|
|
|
|
export const uiStore = new UIStore();
|