mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix(Modal): rm remaining unnecessary string type
This commit is contained in:
parent
5b2a5398cf
commit
ad363570c3
@ -35,11 +35,11 @@ export interface ModalProps {
|
|||||||
/** 底部内容*/
|
/** 底部内容*/
|
||||||
footer?: React.ReactNode;
|
footer?: React.ReactNode;
|
||||||
/** 确认按钮文字*/
|
/** 确认按钮文字*/
|
||||||
okText?: React.ReactNode | string;
|
okText?: React.ReactNode;
|
||||||
/** 确认按钮类型*/
|
/** 确认按钮类型*/
|
||||||
okType?: ButtonType;
|
okType?: ButtonType;
|
||||||
/** 取消按钮文字*/
|
/** 取消按钮文字*/
|
||||||
cancelText?: React.ReactNode | string;
|
cancelText?: React.ReactNode;
|
||||||
/** 点击蒙层是否允许关闭*/
|
/** 点击蒙层是否允许关闭*/
|
||||||
maskClosable?: boolean;
|
maskClosable?: boolean;
|
||||||
/** 强制渲染 Modal*/
|
/** 强制渲染 Modal*/
|
||||||
|
Loading…
Reference in New Issue
Block a user