Modal
Modal for displaying content in a seperated window
import { Modal } from '@ensdomains/thorin'
name | type | default | description |
---|---|---|---|
backdropSurface | ElementType<any> | - | An element providing styling for the backdrop component. Defaults to the BackdropSurface component. |
onDismiss | () => void | - | A handler for click events in the background. |
alignTop | boolean | - | Aligns the modal to the top of the page. Only applies to mobile views. |
mobileOnly | boolean | false | if true, modal will remain centered to bottom of page |
open* Required | boolean | - | If true, the modal is visible. |
renderCallback | () => void | - | A callback fired on the render of children |