Skip to content

Backdrop

Backdrop for highlighting information
name
type
default
description
children *
Required
(renderProps: { state: Readonly<{ status: TransitionStatus; isMounted: boolean; isEnter: boolean; isResolved: boolean; }>; }) => ReactNode
-
A function that renders the children nodes
surface
ElementType<any, keyof IntrinsicElements>
-
An element that provides backdrop styling. Defaults to BackdropSurface component.
onDismiss
() => void
-
A event fired when the background is clicked.
className
string
modal
-
noBackground
boolean
false
If true, removes background
open *
Required
boolean
-
If true, backdrop and it's children are visible
renderCallback
() => void
-
A callback fired on the render of children
v1.0