import React from "react";
import { Widget } from "./BaseWidget";
import type { SliderInputProps as CoreSliderInputProps } from "../widgets/slider-input";

export interface SliderInputProps extends CoreSliderInputProps {
  className?: string;
}

export function SliderInput({ className, ...props }: SliderInputProps) {
  return <Widget widgetId="slider-input" config={props} className={className} />;
}
