Constants
Joyride uses a few constants to keep its state and lifecycle.
You should use them in your component for the callback events.
import Joyride, { ACTIONS, EVENTS, LIFECYCLE, STATUS } from 'react-joyride';
Actions - The action that updated the state.
Events - The type of the event.
Lifecycle - The step lifecycle.
Status - The tour's status.