import React from "react";
import { Widget } from "./BaseWidget";
import type { RadioInputProps as CoreRadioInputProps } from "../widgets/radio-input";

export interface RadioInputProps extends CoreRadioInputProps {
  className?: string;
}

export function RadioInput({ className, ...props }: RadioInputProps) {
  return <Widget widgetId="radio-input" config={props} className={className} />;
}
