import React from "react";
import { Widget } from "./BaseWidget";
import type { PasswordInputProps as CorePasswordInputProps } from "../widgets/password-input";

export interface PasswordInputProps extends CorePasswordInputProps {
  className?: string;
}

export function PasswordInput({ className, ...props }: PasswordInputProps) {
  return <Widget widgetId="password-input" config={props} className={className} />;
}
