GraphCalendar

Import

svelte
import { GraphCalendar } from 'markgraphy';

Basic usage

svelte
<GraphCalendar
  title="example"
  year={0}
  month={0}
/>
[ example ]
0

Props

PropTypeDefaultDescription
title?string
yearnumber
monthnumber
weekStartsOn?`01`1
marks?`CalendarMark[]number[]`
today?number
palette?GraphPalette
corner?string
class?string''

Exported types

  • CalendarMark
  • GraphCalendarProps