1.0.10 • Published 2 months ago

basic-calendar-component v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Basic Calendar

  • Capture current dates
  • Block future and past dates from the default date
  • Display calendar in some predefined languages
  • Use refs to get input data
  • Place the icon you want if you don't want to use the default one

Usage/Examples

import { Calendar } from 'basic-calendar-component'

function App() {
  return (
      <Calendar
        onChange={(date, dateToLocaleString) => console.log(date, dateToLocaleString)}
        language='pt-BR'
        label='Initial Date'
        defaultDate="2024-02-10"
      />
  )
}

Running locally

Clone the project

  git clone https://link-para-o-projeto

Enter the project directory

  cd react-basic-calendar

Install dependencies

  yarn install

Enter the example directory

  cd example

Install dependencies

  yarn install

Start the project

  yarn start

Contribution

To learn how to contribute, contact me via email at caio.henriquealves@outlook.com or through the contact methods on my website https://caiohalves.vercel.app

1.0.10

2 months ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago