basic-calendar-component
v1.0.10
Published
- 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
Downloads
3
Maintainers
Readme
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 [email protected] or through the contact methods on my website https://caiohalves.vercel.app