# easy-time-picker

> React time picker with input which is very simple and light weight and zero dependencies.

Latest version **1.0.1** (published 2020-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install easy-time-picker
pnpm add easy-time-picker
yarn add easy-time-picker
bun add easy-time-picker
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-01-30 |
| First published | 2020-01-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 72.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Sufiyaan Rajput |
| Maintainers | swizzx |
| Keywords | react, time, time-picker, react-time-picker, react-time-picker-input, simple-time-picker, easy-time-picker |

## Links

- npm: https://www.npmjs.com/package/easy-time-picker
- npm.io page: https://npm.io/package/easy-time-picker

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-01-30

## README

## Easy time picker for your react projects.

Source code: https://github.com/SufiyaanRajput/easy-time-picker

BASIC USAGE:

``` <EasyTimePicker onChange={changeHandler} value="03:00 PM"/> ```

Props:

    <!-- show time with seconds -->
    withSeconds: PropTypes.bool,
    
    <!-- show time in 12 hour format -->
    twelveHourFormat: PropTypes.bool,

    <!-- default value -->
    value: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),

    <!-- on change handler -->
    onChange: PropTypes.func,

    <!-- skip minutes in dropdown options -->
    minuteSteps: PropTypes.number,

    <!-- skip seconds in dropdown options -->
    secondSteps: PropTypes.number


DEFAULT VALUES:

    The default value in ISO can be passed as: ``` new Date("2020-01-20T10:35:57.341Z") ```

    Formatted values are also accepted for example:
    '02:00 PM' or '34:00:98' if twelveHourFormat is false.

    The time picker defaults to '00:00' when the value passed is invalid.

DEFAULT PROPS:

    withSeconds: true,

    twelveHourFormat: true,

    minuteSteps: 1,

    secondSteps: 1,

    value: '00:00 AM'

---
_Source: https://npm.io/package/easy-time-picker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
