Replies: 1 comment
-
取不到,这一个内部的变量: ant-design/components/modal/style/index.tsx Lines 379 to 381 in ce28f36 可以直接参考这个,自己写 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
怎么获取到 Modal 组件的 contentPadding token 值。
使用
import { theme } = antd;
const { token } = theme.useToken();
token 里没有找到 contentPadding
Beta Was this translation helpful? Give feedback.
All reactions