Tours & steps

Tours object

Your steps object contains all of your tours identified with the key tour and a steps object containing an array of steps as shown below.

{
  tour: "firstyour",
  steps: [
    Step
  ],
  tour: "secondtour",
  steps: [
    Step
  ]
}

Steps

Your steps object contains all of your tours identified with the key tour and a steps object containing an array of steps as shown below.

{
  tour: "firsttour",
  steps: [
    {
      icon: <>👋</>,
      title: "Tour 1, Step 1",
      content: <>First tour, first step</>,
      selector: "#tour1-step1",
      side: "top",
      showControls: true,
      pointerPadding: 10,
      pointerRadius: 10,
      nextRoute: "/foo",
      prevRoute: "/bar"
    }...
PropType
iconReact.ReactNode | string | null
titlestring
contentReact.ReactNode
selectorstring
side"top", "bottom", "left", "right"
showControlsboolean
pointerPaddingnumber
pointerRadiusnumber
nextRoutestring
prevRoutestring