Calendar
A calendar component that allows picking of a single date or a range of dates.
September 2023
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
Was this example helpful?
Usage
import { Calendar } from "@medusajs/ui"
<Calendar />
API Reference
This component is based on the react-date-picker package.
Prop | Type | Default |
---|---|---|
mode | enum | "single" |
showOutsideDays | boolean | true |
numberOfMonths | number | 1 |
Was this section helpful?
Examples
Single Date
September 2023
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
Was this example helpful?
Range
September 2023
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
Was this example helpful?