# @types/input-moment

> TypeScript definitions for input-moment

Latest version **0.4.5** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/input-moment
pnpm add @types/input-moment
yarn add @types/input-moment
bun add @types/input-moment
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.4.5 |
| Published | 2023-11-07 |
| First published | 2019-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/input-moment
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/input-moment
- npm.io page: https://npm.io/package/@types/input-moment

## Dependencies (2)

- [moment](https://npm.io/package/moment.md) latest
- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 0.4.5 (latest) — 2023-11-07
- 0.4.2 (ts3.6) — 2021-07-08
- 0.4.1 (ts3.5) — 2020-05-15
- 0.4.4 — 2023-10-18
- 0.4.3 — 2023-09-26
- 0.4.0 — 2019-07-31

## README

# Installation
> `npm install --save @types/input-moment`

# Summary
This package contains type definitions for input-moment (https://github.com/wangzuo/input-moment).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/input-moment.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/input-moment/index.d.ts)
````ts
import React = require("react");
import moment = require("moment");

export type OnChangeListener = (m: moment.Moment) => void;
export type OnSaveListener = () => void;

export interface InputMomentProps {
    moment: moment.Moment;
    onChange?: OnChangeListener | undefined;
    onSave?: OnSaveListener | undefined;
    minStep?: number | undefined;
    hourStep?: number | undefined;
    prevMonthIcon?: string | undefined;
    nextMonthIcon?: string | undefined;
}

export default class InputMoment extends React.Component<InputMomentProps> {
    constructor(props: Readonly<InputMomentProps>);
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [moment](https://npmjs.com/package/moment)

# Credits
These definitions were written by [Tim Ittermann](https://github.com/timia2109).

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