From a047f5d00447edf9143a08b35b72c9b018775b06 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Sat, 20 Jul 2024 08:36:27 +0800 Subject: [PATCH] docs(type): supplement classnames and styles --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fccd28d5..6d45b458 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,8 @@ ReactDOM.render( | ---------------------- | ------------------------------ | --------- | ------------------------------------------------------------------------------- | ------- | | prefixCls | String | rc-dialog | The dialog dom node's prefixCls | | | className | String | | additional className for dialog | | -| classNames | { mask?: string; wrapper?: string; header?: string; body?: string; footer?: string} | | pass className to target area | | -| styles | { mask?: CSSProperties; wrapper?: CSSProperties; header?: CSSProperties; body?: CSSProperties; footer?: CSSProperties} | | pass styles to target area | | +| classNames | { header?: string; body?: string; footer?: string; mask?: string; content?: string; wrapper?: string; } | | pass className to target area | | +| styles | { header?: CSSProperties; body?: CSSProperties; footer?: CSSProperties; mask?: CSSProperties; content?: CSSProperties; wrapper?: CSSProperties; } | | pass styles to target area | | | style | Object | {} | Root style for dialog element.Such as width, height | | | zIndex | Number | | | | | visible | Boolean | false | current dialog's visible status | |