import { Page } from '@wix/design-system';
import React, { useState } from 'react';
import { observer } from 'mobx-react-lite';
import { useSettingsPageChild } from '../../hooks';
function _SettingsPagePlain({ state, children, ...rest }) {
    const [scrollableRef, setScrollableRef] = useState(null);
    const childrenArr = useSettingsPageChild(children, scrollableRef);
    return (React.createElement(Page, { scrollableContentRef: setScrollableRef, ...rest }, childrenArr));
}
export const SettingsPagePlain = observer(_SettingsPagePlain);
//# sourceMappingURL=SettingsPagePlain.js.map