# react-itune-calendar

> The library simulates the datepicker on the itune page

Latest version **0.0.7** (published 2017-10-20) · 0 weekly downloads

## Install

```sh
npm install react-itune-calendar
pnpm add react-itune-calendar
yarn add react-itune-calendar
bun add react-itune-calendar
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-10-20 |
| First published | 2017-10-19 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | WayneRooney998877 |
| Maintainers | waynerooney998877 |
| Keywords | react, itune, date-picker, calendar, date, rc-calendar, antd-design |

## Links

- npm: https://www.npmjs.com/package/react-itune-calendar
- npm.io page: https://npm.io/package/react-itune-calendar

## Dependencies (8)

- [antd](https://npm.io/package/antd.md) ^2.13.6
- [react](https://npm.io/package/react.md) ^15.5.4
- [moment](https://npm.io/package/moment.md) ^2.13.0
- [react-dom](https://npm.io/package/react-dom.md) ^15.5.4
- [rc-calendar](https://npm.io/package/rc-calendar.md) ^9.1.8
- [moment-range](https://npm.io/package/moment-range.md) ^3.0.3
- [react-simple-popover](https://npm.io/package/react-simple-popover.md) ^0.2.0
- [react-segmented-control](https://npm.io/package/react-segmented-control.md) ^0.2.2

## 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

- 0.0.7 (latest) — 2017-10-20
- 0.0.6 — 2017-10-20
- 0.0.5 — 2017-10-20
- 0.0.4 — 2017-10-19

## README

# react-itune-calendar

## DEMO


![](https://media.giphy.com/media/3ohhwt7IRSyVc0Iiuk/giphy.gif)


## Installation


The package can be installed via NPM:
```
npm i react-itune-calendar --save
```

```js
import React from 'react';
import ReactDOM from 'react-dom';
import ReactItuneCalendar from 'react-itune-calendar';

export default class Example extends Component {
    constructor(props) {
        super(props);
        this.state = {};
        this.getRangeDate = this.getRangeDate.bind(this);
    }

    getRangeDate(from, to) {
        console.log(from);
        console.log(to);
    }

    render() {
        return (
            <div>
                <ReactItuneCalendar 
                    getRangeDate={(from, to) => this.getRangeDate(from, to)} 
                    size={35}
                    className="demo_example_custom" 
                 />
            </div>
        )
    }
}
ReactDOM.render(<Main />, document.getElementById('container'));
```

## Configuration

The most basic use of the React-Itune-Calendar can be described with:
```js
<ReactItuneCalendar 
    getRangeDate={(from, to) => this.getRangeDate(from, to)} 
    size={35}
    className="demo_example_custom" 
/>
```

### Browser Support

The date picker is compatible with the latest versions of Chrome, Firefox, and IE10+.

Unfortunately it is difficult to support legacy browsers while maintaining our ability to develop new features in the future.  For IE9 support, it is known that the [classlist polyfill](https://www.npmjs.com/package/classlist-polyfill) is needed, but this may change or break at any point in the future.

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