import cn from "classnames"; import style from "./style.module.scss"; export function Slider(props: { value: number, onChange: (value: number) => void, name: string, min: number, max: number, step: number, className?: string, disabled?: boolean, }) { return (
props.onChange(Number((e.target as HTMLInputElement).value))} />
{props.value}
) }