# @time-with/time-picker

> Simple React TimePicker

Latest version **1.2.6** (published 2020-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @time-with/time-picker
pnpm add @time-with/time-picker
yarn add @time-with/time-picker
bun add @time-with/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.2.6 |
| Published | 2020-04-17 |
| First published | 2020-03-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 77.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Antonio Brandao |
| Maintainers | agouil, antoniobrandao |

## Links

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

## Dependencies (1)

- [react-simple-timefield](https://npm.io/package/react-simple-timefield.md) ^3.0.0

## Recent versions

- 1.2.6 (latest) — 2020-04-17
- 1.2.5 — 2020-04-15
- 1.2.4 — 2020-03-17
- 1.2.3 — 2020-03-12
- 1.2.2 — 2020-03-12
- 1.2.1 — 2020-03-12
- 1.2.0 — 2020-03-12
- 1.1.0 — 2020-03-10
- 1.0.1 — 2020-03-10
- 1.0.0 — 2020-03-09

## README

# Timewith Time Picker

Simple React TimePicker

## Install

With [npm](http://npmjs.org) do:

```bash
$ npm install @time-with/time-picker
or
$ yarn add @time-with/time-picker
```

## Usage

    import TimePicker from '@time-with/time-picker'

    <TimePicker
      step={15}
      minTime={new Date()}
      maxTime={new Date()}
      value={new Date()}
      format="HH:mm"
      onChange={this.handleTimeChange}
    />


## Parameters
| PropName | Type | Description |
|:----------:|:----:|------------|
| step     | int  | The step between time options|
| minTime  | date | The min time |
| maxTime  | date | The max time |
| value    | date | The input value |
| format   | string| How to format the time. Internally it uses the `format()` of `date-fns`. Format options [here](https://date-fns.org/v2.10.0/docs/format). |
| onChange | func | On change handler |

## License

MIT

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