"use strict";

exports.__esModule = true;
exports.useSettingsPage = useSettingsPage;
var _react = require("react");
var _state = require("../state");
var _react2 = require("@wix/bex-core/react");
function useSettingsPage(props) {
  const container = (0, _react2.useWixPatternsContainer)();
  const [state] = (0, _react.useState)(() => {
    return new _state.SettingsPageState({
      container,
      ...props
    });
  });
  return state;
}
//# sourceMappingURL=useSettingsPage.js.map