import React, { useState } from 'react'; import { Modal, Select, Switch } from 'antd'; const options = [ { label: 'Option 1', value: '1', }, { label: 'Option 2', value: '2', }, ]; const App: React.FC = () => { const [isModalOpen, setIsModalOpen] = useState(false); return ( <> setIsModalOpen(open)} /> setIsModalOpen(false)} maskClosable={false} closable={false} styles={{ content: { marginBlockStart: 100, }, }} > setIsModalOpen(false)} closable={false} styles={{ content: { marginBlockStart: 400, }, body: { display: 'flex', justifyContent: 'flex-end', }, }} >