{"size": 697, "ext": "js", "max_stars_repo_path": "src/lib/dist/components/Dialog/index.js", "max_stars_repo_name": "virtualvivek/react-windows-ui", "max_stars_repo_stars_event_min_datetime": "2021-02-04T19:17:09.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T12:16:03.000Z", "max_issues_repo_path": "src/lib/dist/components/Dialog/index.js", "max_issues_repo_name": "thevobos/react-windows-ui", "max_issues_repo_issues_event_min_datetime": "2021-03-03T07:36:38.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-08T14:25:41.000Z", "max_forks_repo_path": "src/lib/dist/components/Dialog/index.js", "max_forks_repo_name": "thevobos/react-windows-ui", "max_forks_repo_forks_event_min_datetime": "2021-02-12T17:14:46.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-18T12:44:05.000Z"}
{"max_stars_count": 357, "max_issues_count": 15, "max_forks_count": 34, "avg_line_length": 697.0, "max_line_length": 697, "alphanum_fraction": 0.7604017217}
"use strict";var _react=_interopRequireDefault(require("react"));Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}const Dialog=a=>{const b=b=>{b.preventDefault(),b.target===b.currentTarget&&a.onBackdropPress()};return/*#__PURE__*/_react.default.createElement("div",{className:a.isVisible?"app-dialog show":"app-dialog",onClick:a=>b(a)},/*#__PURE__*/_react.default.createElement("div",{className:"app-dialog-modal ".concat((()=>a.showDropShadow?"dropShadow":"")()),style:a.style},a.children))};Dialog.defaultProps={isVisible:!1,onBackdropPress:()=>{}};var _default=Dialog;exports.default=_default;