UNPKG

@renderlesskit/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

18 lines (15 loc) 375 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setTime = setTime; function setTime(date, time) { if (!date || !time) { return; } date.setHours(time.getHours()); date.setMinutes(time.getMinutes()); date.setSeconds(time.getSeconds()); date.setMilliseconds(time.getMilliseconds()); } //# sourceMappingURL=helpers.js.map