UNPKG

react-period-of-stay-input

Version:

React.js component for entering a period of stay in a hotel: check-in + check-out date

1 lines 793 B
{"id":"isInputTypeDateSupported.ts","dependencies":[{"name":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/tsconfig.json","includedInParent":true,"mtime":1533819530549},{"name":"/home/ikr/prj/stc-b2b/react-period-of-stay-input/package.json","includedInParent":true,"mtime":1534141269544}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction default_1() {\n if (!document) {\n return false;\n }\n var input = document.createElement('input');\n input.setAttribute('type', 'date');\n var notADateValue = 'not-a-date';\n input.setAttribute('value', notADateValue);\n return input.value !== notADateValue;\n}\nexports.default = default_1;"},"hash":"ad57b6356a55bc8ec35b05373532b0f7","cacheData":{"env":{}}}