Skip to content
+

Event Timeline - Preferences

Let your user customize the component to their needs.

Initialize the preferences

Use the defaultPreferences prop to initialize the preferences:

const defaultPreferences = {
  ampm: false,
}

<EventTimelinePremium defaultPreferences={defaultPreferences} />;

Available properties:

  • ampm: Whether the component should display the time in 12-hour format with AM/PM meridiem.
Resource title

API

See the documentation below for a complete reference to all of the props and classes available to the components mentioned here.