import React, { useState } from "react"; import Slider from "."; export default { title: "Components/Slider", component: Slider, parameters: { docs: { description: { component: "Components/Slider" } }, }, }; const Template = ({ ...args }) => { const [value, setValue] = useState(0); const handleChange = (e) => { const target = e.target; setValue(target.value); }; return (