Skip to content

BackdropSurface

The default surface for the Backdrop component used in the Modal component.
import { BackdropSurface } from '@ensdomains/thorin'
<Portal>
<BackdropSurface>
<Card>
<Typography>This text will be highlighted</Typography>
</Card>
</BackdropSurface>
</Portal>

Props
#

name
type
default
$empty*
Required
boolean
-
$state*
Required
"preEnter" | "entering" | "entered" | "preExit" | "exiting" | "exited" | "unmounted"
-
ref
null | (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement>
-
Edit on GitHub