# tui-date-picker-react

> React plugin for tui-date-picker

Latest version **0.0.1-rebuild-3** (published 2020-05-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install tui-date-picker-react
pnpm add tui-date-picker-react
yarn add tui-date-picker-react
bun add tui-date-picker-react
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1-rebuild-3 |
| Published | 2020-05-15 |
| First published | 2020-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 49.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | 100milliongold |
| Maintainers | 100milliongold |
| Keywords | tui, component, calendardate-picker, date-range-picker, tui-date-picker, react |

## Links

- npm: https://www.npmjs.com/package/tui-date-picker-react
- Repository: https://github.com/100milliongold/tui-date-picker-react
- Homepage: https://github.com/100milliongold/tui-date-picker-react#readme
- Issues: https://github.com/100milliongold/tui-date-picker-react
- npm.io page: https://npm.io/package/tui-date-picker-react

## Dependencies (3)

- [babel-loader](https://npm.io/package/babel-loader.md) ^8.1.0
- [tui-date-picker](https://npm.io/package/tui-date-picker.md) ^4.1.0
- [tui-time-picker](https://npm.io/package/tui-time-picker.md) ^2.0.3

## 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.1-rebuild-3 (latest) — 2020-05-15
- 0.0.1-rebuild-2 — 2020-05-15
- 0.0.1-rebuild — 2020-05-15
- 0.0.1 — 2020-05-15

## README

# TOAST UI React Component : Date Picker

> Made with create-react-library for [TOAST UI Component : Date Picker](https://github.com/nhn/tui.date-picker#readme)

[![NPM](https://img.shields.io/npm/v/tui-date-picker-react.svg)](https://www.npmjs.com/package/tui-date-picker-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)



## Install

```bash
npm install --save tui-date-picker-react
```

## Usage

### Date Picker

```tsx
import React, { Component } from 'react'
import { TuiDateRangePicker } from 'tui-date-picker-react'

class Example extends Component {
  render() {
    return <TuiDatePicker
      date={new Date()}
      format='yyyy/MM/dd HH:mm'
      timePicker={{
        layoutType: 'tab',
        inputType: 'spinbox'
      }}
      onChange={e => console.log(e)}
      language="ko"
    />
  }
}
```

### Date Range Picker

```tsx
import React, { Component } from 'react'
import { TuiDateRangePicker } from 'tui-date-picker-react'

const App = () => {
  return (
    <TuiDateRangePicker
      onChange={([startDate, endDate]) =>
        console.log(startDate, endDate)}
      language='ko'
      format='yyyy/MM/dd HH:mm'
      timePicker={{
        layoutType: 'tab',
        inputType: 'spinbox'
      }}
    />
  )
}
```

## License

MIT © [100milliongold](https://github.com/100milliongold)

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