import React from "react";
import { Widget } from "./BaseWidget";
import type { EmailInputProps as CoreEmailInputProps } from "../widgets/email-input";

export interface EmailInputProps extends CoreEmailInputProps {
  className?: string;
}

export function EmailInput({ className, ...props }: EmailInputProps) {
  return <Widget widgetId="email-input" config={props} className={className} />;
}
