UNPKG

@zag-js/tour

Version:

Core logic for the tour widget implemented as a state machine

30 lines (29 loc) 570 B
// src/tour.props.ts import { createProps } from "@zag-js/types"; import { createSplitProps } from "@zag-js/utils"; var props = createProps()([ "closeOnEscape", "closeOnInteractOutside", "dir", "getRootNode", "id", "ids", "keyboardNavigation", "onFocusOutside", "onInteractOutside", "onPointerDownOutside", "onStatusChange", "onStepChange", "onStepsChange", "preventInteraction", "spotlightOffset", "spotlightRadius", "stepId", "steps", "translations" ]); var splitProps = createSplitProps(props); export { props, splitProps };