import React from "react";
import { Widget } from "./BaseWidget";
import type { TextareaInputProps as CoreTextareaInputProps } from "../widgets/textarea-input";

export interface TextareaInputProps extends CoreTextareaInputProps {
  className?: string;
}

export function TextareaInput({ className, ...props }: TextareaInputProps) {
  return <Widget widgetId="textarea-input" config={props} className={className} />;
}
