import React from "react";
import { Widget } from "./BaseWidget";
import type { DropdownInputProps as CoreDropdownInputProps } from "../widgets/dropdown-input";

export interface DropdownInputProps extends CoreDropdownInputProps {
  className?: string;
}

export function DropdownInput({ className, ...props }: DropdownInputProps) {
  return <Widget widgetId="dropdown-input" config={props} className={className} />;
}
