I remove the antd modal footer by footer={null}
but a empty space stays in.
code:
<Modal
style={{ backgroundColor: "#FFFFFF", borderRadius: "20px" }}
width={480}
footer={null}
>
<p>
Done!
</p>
<p>
You've added a name
</p>
<Button
style={{
borderRadius: "7px",
}}
>
OK
</Button>
</Modal>
I needed to make the modal radius to 20px but after adding the borderRadius, the footer style stays in.