import type { NodeChildren } from '@mcschema/core' import { NumberInput, RangeInput } from '../index.js' import { CustomizedInput } from './CustomizedInput.jsx' interface Props { label: string, help?: string, value: number, min: number, max: number, step?: number, initial?: number, error?: string, onChange: (value: number) => void, children?: NodeChildren, } export function CustomizedSlider(props: Props) { const isInteger = (props.step ?? 1) >= 1 return }