ModalCloseButton
function ModalCloseButton(__namedParameters: ModalCloseButtonProps): Element;ModalCloseButton is used closes the modal. You don’t need to pass the onClick to it, it reads the onClose action from the modal context.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
ModalCloseButtonProps |
Returns
Section titled “Returns”Element
Docs https://caspeco.github.io/casper-ui-library/components/modal