diff --git a/examples/next-ts/pages/range-slider.tsx b/examples/next-ts/pages/range-slider.tsx index 1c8f6f0ebe..5fc64be298 100644 --- a/examples/next-ts/pages/range-slider.tsx +++ b/examples/next-ts/pages/range-slider.tsx @@ -1,6 +1,6 @@ import * as slider from "@zag-js/slider" import { normalizeProps, useMachine } from "@zag-js/react" -import { rangeSliderControls } from "@zag-js/shared" +import { sliderControls } from "@zag-js/shared" import serialize from "form-serialize" import { useId } from "react" import { StateVisualizer } from "../components/state-visualizer" @@ -8,7 +8,7 @@ import { Toolbar } from "../components/toolbar" import { useControls } from "../hooks/use-controls" export default function Page() { - const controls = useControls(rangeSliderControls) + const controls = useControls(sliderControls) const [state, send] = useMachine( slider.machine({ diff --git a/examples/next-ts/pages/slider.tsx b/examples/next-ts/pages/slider.tsx index 7fa0a4a542..9b44d72c97 100644 --- a/examples/next-ts/pages/slider.tsx +++ b/examples/next-ts/pages/slider.tsx @@ -1,5 +1,5 @@ import { normalizeProps, useMachine } from "@zag-js/react" -import { rangeSliderControls } from "@zag-js/shared" +import { sliderControls } from "@zag-js/shared" import * as slider from "@zag-js/slider" import serialize from "form-serialize" import { useId } from "react" @@ -8,7 +8,7 @@ import { Toolbar } from "../components/toolbar" import { useControls } from "../hooks/use-controls" export default function Page() { - const controls = useControls(rangeSliderControls) + const controls = useControls(sliderControls) const [state, send] = useMachine( slider.machine({ diff --git a/examples/nuxt-ts/pages/range-slider.vue b/examples/nuxt-ts/pages/range-slider.vue index 02b6c8e039..59df52a217 100644 --- a/examples/nuxt-ts/pages/range-slider.vue +++ b/examples/nuxt-ts/pages/range-slider.vue @@ -1,10 +1,10 @@