UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

13 lines 431 B
import _extends from "@babel/runtime/helpers/esm/extends"; import defaultLocale from '../locale/en_US'; var runtimeLocale = _extends({}, defaultLocale.Modal); export function changeConfirmLocale(newLocale) { if (newLocale) { runtimeLocale = _extends(_extends({}, runtimeLocale), newLocale); } else { runtimeLocale = _extends({}, defaultLocale.Modal); } } export function getConfirmLocale() { return runtimeLocale; }