"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.themeDirection = void 0;
var _ui = require("@mirai/ui");
const themeDirection = language => {
  if (!language) return;
  const next = language === 'ar' ? _ui.DIRECTION_TYPE.RIGHT : _ui.DIRECTION_TYPE.LEFT;
  if (next !== _ui.Theme.getDirection()) _ui.Theme.setDirection(next);
};
exports.themeDirection = themeDirection;
//# sourceMappingURL=themeDirection.js.map