1.0.2 • Published 2 years ago
react-month-picker-tis v1.0.2
react-month-picker-tis
Month picker component for React
Install
npm i react-month-picker-tis
or
yarn add react-month-picker-tis
Usage
import React from 'react'
import { MonthPicker } from 'react-month-picker-tis'
import 'react-month-picker-tis/dist/index.css'
const App = () => {
return (
<MonthPicker
className='MonthPicker'
initialRange={{
start: { year: 2021, month: 0 },
end: { year: 2021, month: 6 }
}}
onChange={(selectedRange) => console.log(selectedRange)}
darkMode={false}
/>
)
}
export default App
License
MIT © boof-tech