
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-component-time-input
Advanced tools
npm install react-component-time-input
Then you can import or require with your preferred module builder.
import { TimeInputText, TimeInputListBox } from 'react-component-time-input';
Or
var reactTimeInput = require('react-component-time-input');
var TimeInputListBox = reactTimeInput.TimeInputListBox;
An example in es2015 and jsx:
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import { connect } from 'react-redux';
import { TimeInputText, TimeInputListBox } from '../timeinput/index';
function mapStateToProps(state) {
return {
hours: state.time.hours,
minutes: state.time.minutes,
seconds: state.time.seconds
};
}
class App extends Component {
render() {
console.log('App this.props: ', this.props);
const { updateTime } = this.props;
return (
<div>
<section id={'time-input-text'}>
<span>Text Time Input</span>
<TimeInputText {...this.props}/>
</section>
<section id={'time-input-list-box'}>
<div>ListBox Time Input</div>
<TimeInputListBox {...this.props} timeStep={5} onChange={updateTime} useTwelveHourTime/>
</section>
</div>
);
}
}
export default connect(mapStateToProps)(App);
FAQs
A datepicker component written in React.
We found that react-component-time-input 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.