import { useState } from 'react';
import { SettingsPageState } from '../state';
import { useWixPatternsContainer } from '@wix/bex-core/react';
export function useSettingsPage(props) {
    const container = useWixPatternsContainer();
    const [state] = useState(() => {
        return new SettingsPageState({ container, ...props });
    });
    return state;
}
//# sourceMappingURL=useSettingsPage.js.map