import React from "react";
import classNames from "classnames";
import { BoxProps } from "../Box";
import { Fixed } from "../Fixed";
import { bem } from "../../utilities/bem";

const cn = "Overlay";

export const Overlay = (props: BoxProps) => {
  const { className, ...rest } = props;

  return <Fixed className={classNames(bem(cn), className)} {...rest} />;
};
