# react-datepicker-component

> A standalone ReactJS datepicker component, no jquery etc..

Latest version **1.0.2** (published 2014-11-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-datepicker-component
pnpm add react-datepicker-component
yarn add react-datepicker-component
bun add react-datepicker-component
```

## 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.2 |
| Published | 2014-11-11 |
| First published | 2014-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mandarin Drummond |
| Maintainers | mandarind |
| Keywords | React, Datepicker, Date, Calendar |

## Links

- npm: https://www.npmjs.com/package/react-datepicker-component
- Repository: https://github.com/MandarinConLaBarba/react-datepicker
- Issues: https://github.com/MandarinConLaBarba/react-datepicker/issues
- npm.io page: https://npm.io/package/react-datepicker-component

## 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.2 (latest) — 2014-11-11
- 1.0.1 — 2014-11-07
- 1.0.0 — 2014-11-04
- 0.0.3 — 2014-08-05
- 0.0.2 — 2014-08-05
- 0.0.1 — 2014-08-05

## README

## React DatePicker Component

A fork of https://github.com/misino/react-datepicker. 

* CommonJS
* Month Picker instead of individual year/day pickers
* classNamePrefix property for style customization

### Usage


Install in your project:

```
npm install react-datepicker-component
```

And then include via require(): 
 
```
 var React = require('react'),
   DatePicker = require('react-datepicker-component/DatePicker.jsx'),
   DatePickerInput = require('react-datepicker-component/DatePickerInput.jsx');
 
 React.renderComponent(
     <DatePicker date={new Date(2014, 0, 8)} />,
        document.getElementById('datepicker')
 );
 
 React.renderComponent(
     <DatePickerInput 
        classNamePrefix={"wide-datepicker"} 
        date={new Date(2012, 0, 4)} 
        beforeUpdate={formatDate} />,
        document.getElementById('datepicker-input')
 );

```
 
Then bundle with something that can package your stuff for the browser, like browserify.
 
### Customize

 
You can change the css class prefix used by passing in the classNamePrefix property. See the [example](example/) and [stylus](css/datepicker.styl) to see this in action.

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