Repository URL to install this package:
|
Version:
0.0.0 ▾
|
import React from 'react'
type Props = {
children?: React.ReactNode
backdrop?: React.ReactNode
}
export function Backdrop({ children, backdrop }: Props): JSX.Element {
return (
<>
<div className="fixed inset-0 z-0 pointer-events-none">{backdrop}</div>
{children}
</>
)
}