Event Timeline - Preferences
Customize timeline preferences including the time format.
Initialize the preferences
Use the defaultPreferences prop to initialize the preferences:
const defaultPreferences = {
ampm: false,
}
<EventTimelinePremium defaultPreferences={defaultPreferences} />;
Available properties:
ampm: Whether the component displays time in 12-hour format with AM/PM.weekStartsOn: The first day of the week, from0(Sunday) to6(Saturday). Defaults to the locale's first day of the week.
API
See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.