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 day the week starts on (0= Sunday,1= Monday,6= Saturday).
API
See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.