'use client'; import { classNames } from '@vkontakte/vkjs'; import { useRootRef } from '../../hooks/useExternRef'; import type { HTMLAttributesWithRootRef } from '../../types'; import { CustomScrollView } from '../CustomScrollView/CustomScrollView'; import styles from './ModalPageContent.module.css'; export type ModalPageContentProps = HTMLAttributesWithRootRef; export const ModalPageContent = ({ children, className, getRootRef: getRootRefProp, ref: refProp, ...restProps }: ModalPageContentProps) => { const getRootRef = useRootRef(getRootRefProp, refProp); return ( {children} ); };