import React from "react";
import { Widget } from "./BaseWidget";
import type { DateInputProps as CoreDateInputProps } from "../widgets/date-input";

export interface DateInputProps extends CoreDateInputProps {
  className?: string;
}

export function DateInput({ className, ...props }: DateInputProps) {
  return <Widget widgetId="date-input" config={props} className={className} />;
}
