import type { ReactNode } from "react";

import styles from "./scrollable-page.module.css";

export interface ScrollablePageProps {
  children: ReactNode;
  className?: string;
}

export function ScrollablePage({ children, className }: ScrollablePageProps) {
  return (
    <div className={[styles.scroll, className].filter(Boolean).join(" ")}>
      {children}
    </div>
  );
}
