import React from "react";
import { Widget } from "./BaseWidget";
import type { NumberInputProps as CoreNumberInputProps } from "../widgets/number-input";

export interface NumberInputProps extends CoreNumberInputProps {
  className?: string;
}

export function NumberInput({ className, ...props }: NumberInputProps) {
  return <Widget widgetId="number-input" config={props} className={className} />;
}
