Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

tiss-co/react-month-picker-tis

Repository files navigation

react-month-picker-tis

Month picker component for React

NPM JavaScript Style Guide

react-month-picker-tis Banner

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published