Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.25 KB

Readme.md

File metadata and controls

40 lines (31 loc) · 1.25 KB

NPM version License Dependency status

react-flatpickr

Flatpickr for React.

Usage

import 'flatpickr/dist/flatpickr.material_green.min.css'

import Flatpickr from 'react-flatpickr'
import { Component } from 'react'

class App extends Component {
  render() {
    return (
      <Flatpickr data-enable-time
        onChange={v => console.info(v)} />
    )
  }
}

License

MIT