react-native-timer-picker
Version:
A simple, flexible, performant duration picker for React Native apps 🔥 Great for timers, alarms and duration inputs ⏰🕰️⏳ Includes iOS-style haptic and audio feedback 🍏
15 lines (14 loc) • 376 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.padNumber = void 0;
const padNumber = (value, options) => {
if (value < 10) {
return (options !== null && options !== void 0 && options.padWithZero ? "0" : " ") + value;
} else {
return String(value);
}
};
exports.padNumber = padNumber;
//# sourceMappingURL=padNumber.js.map
;