Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
react-timepicker
Advanced tools
Timepicker
is a React timepicker component that looks like Android KitKat one.
From npm
npm install react-timepicker --save
'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import Timepicker from 'react-timepicker';
// Remember to include timepicker.css
class TimepickerExample extends React.Component {
onChange (hours, minutes) {
// ...
},
render () {
return (
<Timepicker onChange={this.onChange} />
);
}
}
ReactDOM.render(<TimepickerExample />, document.getElementById('timepicker-example'));
React.PropTypes.bool
Initial mode - Timepicker.HOURS
or Timepicker.MINUTES
(default: Timepicker.HOURS
).
React.PropTypes.number
Clock size in pixels (default: 300).
React.PropTypes.number
Clock radius in pixels (default: 125).
React.PropTypes.number
Initial hours (default: 0).
React.PropTypes.number
Initial minutes (default: 0).
React.PropTypes.bool
Military (24-hour) time switch (default: true
).
React.PropTypes.func
Callback function when a hour or a minute is changed. Passes 2 parameters: new hours and minutes.
React.PropTypes.func
Callback function when mode is changed. Passes 1 parameter: new mode.
FAQs
React timepicker in Android KitKat style
The npm package react-timepicker receives a total of 77 weekly downloads. As such, react-timepicker popularity was classified as not popular.
We found that react-timepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.