import _extends from 'babel-runtime/helpers/extends';
import enUS from '../locale-provider/en_US';
var defaultLocale = enUS.Modal;
var runtimeLocale = _extends({}, defaultLocale);
export function changeConfirmLocale(newLocale) {
    if (newLocale) {
        runtimeLocale = _extends({}, runtimeLocale, newLocale);
    } else {
        runtimeLocale = _extends({}, defaultLocale);
    }
}
export function getConfirmLocale() {
    return runtimeLocale;
}