p-stream/src/components/overlays/OverlayAnchor.tsx
mrjvs f3084d37a8 volume storage fixed, title cleanup, settings cog start, touch controls start
Co-authored-by: Jip Frijlink <JipFr@users.noreply.github.com>
2023-10-11 23:04:41 +02:00

20 lines
421 B
TypeScript

import classNames from "classnames";
import { ReactNode } from "react";
interface Props {
id: string;
children?: ReactNode;
className?: string;
}
export function OverlayAnchor(props: Props) {
return (
<div className={classNames("relative", props.className)}>
<div
id={`__overlayRouter::${props.id}`}
className="absolute inset-0 -z-10"
/>
{props.children}
</div>
);
}