Modal
Installation
import { Modal } from 'uxp/components';Signature
const Modal: React.FunctionComponent<IModalProps>Examples
<button
className="btn showcase"
onClick={() => setShowModal(true)}
>
Click to Show Modal
</button>
<Modal
show={showModal}
onOpen={() => { }}
onClose={() => setShowModal(false)}
>
This is a sample modal
</Modal>Properties
Name
Type
Mandatory
Default Value
Example Value
Related Types
Last updated