Modal
Installation
import {Modal} from 'uxp/components';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
Description
show
type
onOpen
type
onClose
type
title
type
closeButton
type
styles
type
className
type
headerContent
type
backgroundDismiss
type
showCloseButton
type
animation
type
backdropStyles
type
renderAdditionalContent
type
autoSize
type
Last updated