You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
456 B
20 lines
456 B
import classNames from "classnames"; |
|
import { ReactNode } from "react"; |
|
|
|
interface MobilePositionProps { |
|
children?: ReactNode; |
|
className?: string; |
|
} |
|
|
|
export function OverlayMobilePosition(props: MobilePositionProps) { |
|
return ( |
|
<div |
|
className={classNames([ |
|
"pointer-events-auto z-10 bottom-0 block origin-top-left inset-x-0 absolute overflow-hidden", |
|
props.className, |
|
])} |
|
> |
|
{props.children} |
|
</div> |
|
); |
|
}
|
|
|