Replies: 1 comment
-
You can use it this way to achieve the goal import { Modal } from "antd";
export default function App() {
return (
<Modal open footer={false} closable={false} styles={{ content: { background: "transparent", boxShadow: "none" } }}>
<div style={{ background: "green", color: "white" }}>111</div>
</Modal>
);
} |
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
-
Hi there,
Is there a props that we can pass to override the default Modal body and not the whole modal render?
thanks
Beta Was this translation helpful? Give feedback.
All reactions