
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
@ashwinthomas/react-time-picker-dropdown
Advanced tools
A time picker component for your react app.
You can checkout the demo.
$ npm install --save @ashwinthomas/react-time-picker-dropdown
import TimePicker from '@ashwinthomas/react-time-picker-dropdown';
render() {
<TimePicker
defaultValue="10:10:00 am"
useTwelveHourFormat={true}
onTimeChange={handleTimeChange}
/>
}
Displays an input field along with a dropdown to select time.
Prop name | Description | Default value | Example values |
---|---|---|---|
defaultValue | Sets default input value supports formats hh:mm:ss a and hh:mm:ss | null | "10:10:00 am" |
placeholder | Can be used to set input placeholder | "00 : 00 : 00" | "hh : mm : ss" |
useTwelveHourFormat | Use useTwelveHourFormat props to switch between 24 / 12 hour format | false | true |
onTimeChange | Function called when user picks a time. (Returns null if the input value is invalid.) | n/a | (value)=>alert("Time selected is: ", value) |
onInputChange | Function called when picker value changed using the dropdown | n/a | (value)=>alert("Display time changed: ", value) |
showCloseIcon | showCloseIcon can be used to toggle close icon visibility | true | true |
showClockIcon | showClockIcon can be used to toggle clock icon visibility | true | true |
allowBackdrop | allowBackdrop can be used to toggle backdrop | false | false |
FAQs
A time picker for react webapp
The npm package @ashwinthomas/react-time-picker-dropdown receives a total of 516 weekly downloads. As such, @ashwinthomas/react-time-picker-dropdown popularity was classified as not popular.
We found that @ashwinthomas/react-time-picker-dropdown 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.