Month picker component for React
npm i react-month-picker-tis
or
yarn add react-month-picker-tis
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
MIT © boof-tech