UNPKG
antd-v5
Version:
latest (5.14.1)
5.14.1
An enterprise-class UI design language and React components implementation
ant.design
antd-v5
/
lib
/
modal
/
locale.d.ts
8 lines
(7 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
export
interface
ModalLocale
{
okText
:
string
;
cancelText
:
string
;
justOkText
:
string
; }
export
declare
function
changeConfirmLocale
(
newLocale
?:
ModalLocale
): (
() =>
void
) |
undefined
;
export
declare
function
getConfirmLocale
(
):
ModalLocale
;