@bimetal/calendar-react-components
v0.40.0
Published
Default React calendar UI components — views, dialog, drag & drop
Maintainers
Readme
@bimetal/calendar-react-components
The default React calendar for BIMETAL — a thin binding over the canonical
@bimetal/calendar-headless controller. Month, week, day, agenda, year and
resource views; drag & drop, resize, the event dialog, recurrence and undo.
Every interaction decision lives in the controller: this package turns the
snapshot into the canonical .bm-cal* DOM and raw pointer/key events into
intents. Styles ship from @bimetal/calendar-themes.
Usage
import { Calendar } from '@bimetal/calendar-react-components';
import { createCalendarStore } from '@bimetal/calendar-data';
const store = createCalendarStore();
<Calendar store={store} />Pass darkMode for the dark palette and dir="rtl" for right-to-left. If you
bundle CSS separately, import @bimetal/calendar-react-components/styles.
