import * as React from 'react';
import type { Meta, StoryObj } from '@storybook/react-vite';
import { RangeSlider } from './range-slider';
import { Label } from '../label/label';
const meta = {
title: 'Components/RangeSlider',
component: RangeSlider,
parameters: {
layout: 'centered',
docs: {
description: {
component:
'Numeric slider for a single value or a range. The thumb count follows the length of `value`/`defaultValue`, so one component covers both cases — values are always arrays.',
},
},
},
tags: ['autodocs'],
decorators: [
(Story) => (