Date Components
#
InstallationIf you wish to use the CalendarList or DaysList components, you must also include the following CSS file:
#
Components#
CalendarListDisplay a list of resources in a calendar view, using the FullCalendar package.
Property | Type | Default | Description |
---|---|---|---|
label | Function or String | required | A function which takes a record and returns a label, or the property to use |
startDate | Function or String | required | A function which takes a record and returns a start date, or the property to use |
endDate | Function or String | required | A function which takes a record and returns an end date, or the property to use |
locale | Object | (English) | The locale to be used by FullCalendar |
linkType | String | "edit" | What kind of link to use. Available options: "show" or "edit" |
#
DaysListSame as CalendarList
, except the resources are displayed in a list view.
#
Date/Time inputs#
Propsoptions
#
The options
prop is passed down to the pickers.
Documentation for these options can be found in the material-ui-pickers documentation for the component you're trying to use.
providerOptions
#
If you want to use a date adapter library other than date-fns
or you want a locale other than english, you can pass the providerOptions
prop: