"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useDialogId = void 0;
var _react = require("react");
var _v = _interopRequireDefault(require("uuid/v4"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var useDialogId = exports.useDialogId = function useDialogId() {
  var dialogId = (0, _react.useMemo)(function () {
    return (0, _v["default"])();
  }, []);
  var dialogTitleId = "dialog-title-".concat(dialogId);
  return {
    dialogId: dialogId,
    dialogTitleId: dialogTitleId
  };
};