@daypicker/buddhist
v10.0.1
Published
Buddhist calendar support for react-day-picker
Readme
@daypicker/buddhist
Buddhist calendar support for React DayPicker.
This package renders DayPicker with Buddhist Era years. The calendar keeps Gregorian months and weeks, displays years as BE (CE + 543), and uses Thai digits by default.
Installation
Install the React DayPicker package with the Buddhist calendar addon:
npm install @daypicker/react @daypicker/buddhistUsage
import { DayPicker } from "@daypicker/buddhist";
import "@daypicker/react/style.css";
export function BuddhistCalendar() {
return <DayPicker mode="single" />;
}Documentation
License
MIT. See LICENSE.
