Get started
Examples

List an itinerary's waypoints

List an itinerary's waypoints

ItineraryWaypointTable prints one row per place, in the columns it ships. Reach for it when a page answers "what is on the route" rather than "where does the route go".

import { ItineraryWaypointTable } from "@mountaya/elements-react/elements";
import { MountayaElementsProvider } from "@mountaya/elements-react/headless";

export const Waypoints = () => (
  <MountayaElementsProvider client={client}>
    <ItineraryWaypointTable itineraryId={itineraryId} />
  </MountayaElementsProvider>
);

The cutoff column is absent by default, because a cut-off needs a time zone the element cannot guess.

Next steps