@gisce/react-ooui 2.10.1-rc.1 → 2.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,15 +124,17 @@ function Ce({
124
124
  const { confirm: Ms } = Ze, Zt = ({
125
125
  onOk: e,
126
126
  confirmMessage: t,
127
- t: n
127
+ okText: n,
128
+ cancelText: o,
129
+ t: r
128
130
  }) => {
129
131
  Ms({
130
- title: n("confirmation"),
132
+ title: r("confirmation"),
131
133
  icon: /* @__PURE__ */ i(vt, {}),
132
134
  centered: !0,
133
135
  content: t,
134
- okText: n("ok"),
135
- cancelText: n("cancel"),
136
+ okText: n || r("ok"),
137
+ cancelText: o || r("cancel"),
136
138
  onOk: e
137
139
  });
138
140
  }, $e = rt.createContext(null), Ps = (e) => {