import * as RadixSlider from '@radix-ui/react-slider' import React from 'react' type Props = { className?: string value: number onChange: (value: number[]) => void onMaxClick: () => void } const Slider = ({ className, value, onChange, onMaxClick }: Props) => { return (
onChange(value)} >
{value.toFixed(0)}%
) } export default Slider