1.0.10 • Published 2 years ago
basic-calendar-component v1.0.10
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-projetoEnter the project directory
cd react-basic-calendarInstall dependencies
yarn installEnter the example directory
cd exampleInstall dependencies
yarn installStart the project
yarn startContribution
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