Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jan 21:49
· 1 commit to main since this release
63aec7c

Minor Changes

  • 792939f Thanks
    @segunadebayo! - Add support for navigate context property to handle custom
    router navigations when trigger is rendered as a link.

    Here's a React example usage with the tabs machine.

    const [state, send] = useMachine(
      tabs.machine({
        id: useId(),
        value: "nils",
        // use router.push to navigate to the selected tab
        navigate(details) {
          router.push(`#${details.value}`)
        },
      }),
    )

Patch Changes