Files
ant-design/components/modal/demo/style-class.md
lijianan eb80710d6d feat(Modal): Support better customization with semantic classNames & styles (#55081)
* feat(Modal): Support better customization with semantic classNames & styles

* update type

* update type

* update test

* update test case

* update demo

* update

* update API docs

* update

* fix type lint

* test: update demo and snap

* test: update demo and snap

* chore: update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
Co-authored-by: 遇见同学 <1875694521@qq.com>
2025-09-30 15:23:59 +08:00

287 B

zh-CN

通过 classNamesstyles 传入对象或者函数可以自定义 Modal 组件的 语义化结构 样式。

en-US

You can customize the semantic dom style of Modal by passing objects or functions through classNames and styles.